aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2021-02-13 15:31:25 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-02-28 08:34:43 +0000
commitae3083a534cb3e3defe4c324f59285be2a2680fd (patch)
tree753cb57831be22f38c8819b0632d1cf45a0b81d4
parent340410daeb46e10664593d4317d9fadf0be08857 (diff)
downloadaports-ae3083a534cb3e3defe4c324f59285be2a2680fd.tar.gz
aports-ae3083a534cb3e3defe4c324f59285be2a2680fd.tar.bz2
aports-ae3083a534cb3e3defe4c324f59285be2a2680fd.tar.xz
testing/objconv: New aport
Anger's Object file converter Note, that the sources just say 'GPL' but one explicit link points to the GNU site, www.gnu.org/copyleft/gpl.html which states 'GPL3'. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r--testing/objconv/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/objconv/APKBUILD b/testing/objconv/APKBUILD
new file mode 100644
index 0000000000..378ab318ec
--- /dev/null
+++ b/testing/objconv/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Olliver Schinagl <oliver@schinagl.nl>
+# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
+pkgname="objconv"
+pkgver="2.52_git20210213"
+pkgrel=0
+pkgdesc="Agner's Object file converter"
+url="http://www.agner.org/optimize/#objconv"
+arch="all"
+license="GPL-3.0-or-later" # License is GPL with a link to gnu's GPL v3
+options="!check" # No tests available
+_commitish="42c66561231fffd39030778c1590ffb232539da3"
+source="
+ ${pkgname}-${pkgver}.tar.gz::https://github.com/gitGNU/objconv/archive/${_commitish}.tar.gz
+"
+builddir="${srcdir}/${pkgname}-${_commitish}"
+
+prepare() {
+ default_prepare
+
+ find "${builddir}/" -type f -iname 'objconv' -delete
+}
+
+build() {
+ cd "${builddir}/src/"
+ make ${JOBS:+-j ${JOBS}} -f "../Makefile"
+}
+
+package() {
+ install -D -m 0755 "${builddir}/src/objconv" "${pkgdir}/usr/bin/objconv"
+}
+
+sha512sums="5f711e0655ba9d95e2df0f76cff2f375dac943f81e97a88681664fde467e658923e604b89f31a85bc924d8e8fd606b1e4fa8871e391d1f9ea8408b474fac1b8a objconv-2.52_git20210213.tar.gz"