aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-19 12:25:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-19 12:25:53 +0000
commit7c2e52e107df10965d6d6d98eab65de2aae0e9db (patch)
treeb682f9f289557daa743fa2a5f86a0c996bace0a8
parent90c1b657c62cf993b8db1f683e15a0748e0daebf (diff)
downloadaports-7c2e52e107df10965d6d6d98eab65de2aae0e9db.tar.bz2
aports-7c2e52e107df10965d6d6d98eab65de2aae0e9db.tar.xz
testing/lddtree: new aport
List dynamic dependencies https://github.com/ncopa/lddtree
-rw-r--r--testing/lddtree/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/lddtree/APKBUILD b/testing/lddtree/APKBUILD
new file mode 100644
index 0000000000..dc0fcf3bd9
--- /dev/null
+++ b/testing/lddtree/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lddtree
+pkgver=1.23
+pkgrel=0
+pkgdesc="List dynamic dependencies"
+url="https://github.com/ncopa/lddtree"
+arch="noarch"
+license="GPL2"
+depends="scanelf"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="lddtree-$pkgver.tar.gz::https://github.com/ncopa/lddtree/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/lddtree-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm755 lddtree.sh "$pkgdir"/usr/bin/lddtree
+}
+
+md5sums="367233a8d58ff7f95ec111080b3437e1 lddtree-1.23.tar.gz"
+sha256sums="80b3359856160290e2dd5d298f1204143c7011448a90c107f65ba1d504897bfa lddtree-1.23.tar.gz"
+sha512sums="892372fe1b916ae9ebb788a7eeb8b3c3fddfb65f5133e360e79b2eed4a258611420c5387e0bf00d1e64c8efad4be52c64a11c33b80b7cd31b105b3a469beb87c lddtree-1.23.tar.gz"