aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Santana <daniel@santana.tech>2020-02-29 16:15:22 -0300
committerMilan P. Stanić <mps@arvanta.net>2020-02-29 20:35:36 +0100
commit7f7a3de078517e280feabfcdc78f644a05a79b62 (patch)
tree7cec4d3a30df25ad22e67c7c0fc58fdf66dd94f7
parent0b6fe2bbdf00371c1d2132186d70ced7b7f8092b (diff)
downloadaports-7f7a3de078517e280feabfcdc78f644a05a79b62.tar.gz
aports-7f7a3de078517e280feabfcdc78f644a05a79b62.tar.bz2
aports-7f7a3de078517e280feabfcdc78f644a05a79b62.tar.xz
testing/meson-tools: new aport
-rw-r--r--testing/meson-tools/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/meson-tools/APKBUILD b/testing/meson-tools/APKBUILD
new file mode 100644
index 0000000000..821369669a
--- /dev/null
+++ b/testing/meson-tools/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Daniel Santana <daniel@santana.tech>
+# Maintainer: Daniel Santana <daniel@santana.tech>
+pkgname=meson-tools
+pkgver=0.1
+pkgrel=0
+pkgdesc="Tools for Amlogic Meson ARM platforms"
+url="https://github.com/afaerber/meson-tools"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends_host="openssl-dev"
+subpackages="$pkgname-doc"
+options="!check" # no tests provided
+source="$pkgname-$pkgver.tar.gz::https://github.com/afaerber/meson-tools/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ sed -i 's/lcrypto/lcrypto -lc/' Makefile
+ make CFLAGS="$CFLAGS -g" LDFLAGS="$LDFLAGS -lcrypto"
+}
+
+package() {
+ install -d "$pkgdir/usr/bin"
+ install -m755 amlbootsig unamlbootsig amlinfo "$pkgdir/usr/bin"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+sha512sums="4037dda5f2cb1e339728dd4ab59533bbd99e3cffa116dbd3472853f8454564168b3d7460c78f9738caec585a3885844174945043c682584aa5bfc8e7eee28667 meson-tools-0.1.tar.gz"