diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-06 15:49:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-06 15:51:01 +0000 |
commit | b863af9870ec9b963a1d7f903ee51aae24086062 (patch) | |
tree | 024c68b4f380e1491e922272c77afd3f5d6ebf06 /main/pax-utils/APKBUILD | |
parent | 17672bc887abb52a18e4695a01c50423ba5a8030 (diff) | |
download | aports-b863af9870ec9b963a1d7f903ee51aae24086062.tar.bz2 aports-b863af9870ec9b963a1d7f903ee51aae24086062.tar.xz |
main/pax-utils: split out scanelf into subpackage
we will likely want it for mkinitfs so we want it minimal.
Diffstat (limited to 'main/pax-utils/APKBUILD')
-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" |