diff options
-rw-r--r-- | main/pax-utils/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/pax-utils/APKBUILD b/main/pax-utils/APKBUILD index 0a7fdafd4a..415caf270b 100644 --- a/main/pax-utils/APKBUILD +++ b/main/pax-utils/APKBUILD @@ -1,15 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pax-utils pkgver=0.7 -pkgrel=0 +pkgrel=1 pkgdesc="ELF related utils for ELF 32/64 binaries" url="http://hardened.gentoo.org/pax-utils.xml" arch="all" license='GPL-2' -depends= +depends="scanelf" makedepends= source="http://dev.gentoo.org/~vapier/dist/pax-utils-$pkgver.tar.xz" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc scanelf:_scanelf" build() { cd "$srcdir/$pkgname-$pkgver" @@ -21,6 +21,13 @@ package() { make DESTDIR="$pkgdir/" install } +_scanelf() { + pkgdesc="Scan ELF binaries for stuff" + depends= + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/scanelf "$subpkgdir"/usr/bin/ +} + md5sums="8ae7743ad11500f7604f2e817221d877 pax-utils-0.7.tar.xz" sha256sums="1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84 pax-utils-0.7.tar.xz" sha512sums="d99f325b1d3ffc4955bc09aedcbeabea2d87a9647da31db1518de9daa55fbe0e5dd09feedd8dbcd8c4b53825a788ae7c9b904a927abc9ae995385dfd00d44f4a pax-utils-0.7.tar.xz" |