diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-12-17 00:16:22 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-17 00:16:22 -0600 |
commit | 5b01fb1a37cedda001192d94be54235e1d8a88a0 (patch) | |
tree | 1c7941a86ef325e57d341011d1d273468bffdad3 | |
parent | 23a679caa08d9f91ed74e56bbc692547059789e7 (diff) | |
download | aports-5b01fb1a37cedda001192d94be54235e1d8a88a0.tar.bz2 aports-5b01fb1a37cedda001192d94be54235e1d8a88a0.tar.xz |
testing/fakechroot: new aport
-rw-r--r-- | testing/fakechroot/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/fakechroot/APKBUILD b/testing/fakechroot/APKBUILD new file mode 100644 index 0000000000..e3968a3368 --- /dev/null +++ b/testing/fakechroot/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=fakechroot +pkgver=2.16 +pkgrel=0 +pkgdesc="fakeroot-like utility for chrooting" +url="http://github.com/fakechroot/fakechroot" +arch="all" +license="LGPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://github.com/downloads/fakechroot/fakechroot/fakechroot-${pkgver}.tar.gz" + +_builddir="${srcdir}/fakechroot-${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" + ./configure --prefix=/usr \ + --sysconfdir=/etc || return 1 + make +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" || return 1 + rm "$pkgdir"/usr/lib/fakechroot/*.la +} + +md5sums="3ea5efb76664e787450e0cfcefc1b807 fakechroot-2.16.tar.gz" |