blob: eb933bdc27dc58fd110e0065c4b86bad74bbe2c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fakeroot
pkgver=1.18.2
pkgrel=1
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
arch="all"
license='GPL'
url="http://packages.debian.org/fakeroot"
depends=
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2
busybox-getopt.patch
fakeroot-stdint.patch
fakeroot-uclibc.patch"
prepare() {
cd $startdir/src/$pkgname-$pkgver
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd $startdir/src/$pkgname-$pkgver
CONFIG_SHELL=/bin/sh ./configure --prefix=/usr --disable-static
make || return 1
}
package() {
cd $startdir/src/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="79f32331358ad58499704ea5e19fd0ae fakeroot_1.18.2.orig.tar.bz2
bdbf1db14f2cfdff0f5b4c35da78b9fe busybox-getopt.patch
50a899380cfd5eae8ce3aaf878fb17b2 fakeroot-stdint.patch
7a54ab51fdb90bc44e366e0a66811bfe fakeroot-uclibc.patch"
|