summaryrefslogblamecommitdiff
path: root/experimental/patchelf/APKBUILD
blob: 04652cddef79dee4aeb4a27a402c7e539417f620 (plain) (tree)

































                                                                                                                                                                    
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=patchelf
pkgver=0.10
pkgrel=0
pkgdesc="Utility to modify the dynamic linker and RPATH of ELF executables"
url="https://nixos.org/patchelf.html"
arch="all"
license="GPL-3.0"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://nixos.org/releases/patchelf/patchelf-$pkgver/patchelf-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="647ad13b7d45b3c5d20683ef8fe9760cb7f213e879231b6c5780bf32771adfbf7c5e5ce694c08e5681dceda63857d7d8a2d53efb60f799d3e7290cebc02ab501  patchelf-0.10.tar.bz2"