2009-09-26 15:58:33 +00:00
|
|
|
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
|
|
# Modified by OpenPogo
|
2009-09-26 14:35:50 +00:00
|
|
|
|
|
|
|
pkgname=fakeroot
|
|
|
|
pkgver=1.12.4
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
|
|
|
|
arch=(arm)
|
|
|
|
license=('GPL')
|
|
|
|
url="http://packages.debian.org/fakeroot"
|
|
|
|
groups=('base-devel')
|
|
|
|
install=fakeroot.install
|
2009-09-26 15:58:33 +00:00
|
|
|
depends=('grep' 'sed')
|
2009-09-26 14:35:50 +00:00
|
|
|
options=('!libtool')
|
|
|
|
source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz)
|
|
|
|
md5sums=('aaefede2405a40c87438e7e833d69b70')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/$pkgname-$pkgver
|
2009-09-26 15:58:33 +00:00
|
|
|
./configure --prefix=/opt --libdir=/opt/lib/libfakeroot \
|
2009-09-26 14:35:50 +00:00
|
|
|
--disable-static --with-ipc=sysv
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# install README for sysv/tcp usage
|
2009-09-26 15:58:33 +00:00
|
|
|
install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/opt/share/doc/$pkgname/README
|
2009-09-26 14:35:50 +00:00
|
|
|
}
|