23 lines
587 B
Plaintext
23 lines
587 B
Plaintext
# Description: Gives a fake root environment.
|
|
# URL: http://packages.debian.org/fakeroot
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=fakeroot
|
|
version=1.20.2
|
|
release=1
|
|
source=(http://ftp.debian.org/debian/pool/main/f/$name/${name}_${version}.orig.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib/libfakeroot \
|
|
--disable-static \
|
|
--with-ipc=sysv
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -dm755 $PKG/etc/ld.so.conf.d/
|
|
echo '/usr/lib/libfakeroot' > $PKG/etc/ld.so.conf.d/fakeroot.conf
|
|
}
|