summaryrefslogtreecommitdiffstats
path: root/core/fakeroot/APKBUILD
blob: 1304b3b935ace03e95d9b0ab12f32c71c8dd6a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=fakeroot
pkgver=1.10.1
pkgrel=1
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
license='GPL'
url="http://packages.debian.org/fakeroot"
depends='uclibc'
makedepends='binutils gcc make linux-headers uclibc-dev'
subpackages="dev doc"
source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz
	busybox-compat.patch"

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p1 < ../busybox-compat.patch
  ./configure --prefix=/usr #--libdir=/usr/lib/libfakeroot
  make || return 1
  make DESTDIR=$startdir/pkg install
}
md5sums="052a1b5474b3681bc5f3167d2b3711a8  fakeroot_1.10.1.tar.gz
ea7b7e3065090d72804cdf4719dd5832  busybox-compat.patch"