opt/fakeroot/Pkgfile

23 lines
615 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Run commands in an environment faking root privileges
2006-07-10 15:55:20 +02:00
# URL: http://packages.debian.org/unstable/utils/fakeroot
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
name=fakeroot
2016-06-27 19:00:42 +02:00
version=1.21
2016-08-06 13:27:46 +02:00
release=2
source=(http://ftp.debian.org/debian/pool/main/f/$name/${name}_$version.orig.tar.gz
silence-dlerror.patch)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2016-08-06 13:27:46 +02:00
# https://sourceware.org/bugzilla/show_bug.cgi?id=19509
patch -p1 -i $SRC/silence-dlerror.patch
2016-06-27 19:00:42 +02:00
sed -i '/^SUBDIRS/d' doc/Makefile.am
./bootstrap
./configure --prefix=/usr
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
}