### this file is sourced not run
PKGVER=1.20.debian3
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=fakeroot_1.20.orig.tar.bz2
MD5SUM=9777a81d4d1878422447a1d0030c1f9f
SRC_URL=http://distro.ibiblio.org/fatdog/source/710/$TARBALL
BUNDLE=

SLACKREQ=libcap2
SLACKDESC='fakeroot: fakeroot 1.20.debian3 (Non-root chroot)  
fakeroot:  
fakeroot: Enables a non-root program to pretend to do things on filesystem 
fakeroot: that usually requires root permission. It does not do any privilege 
fakeroot: escalation, as far as the system is concerned it is still executing 
fakeroot: with standard privileges; only that the program run-time environment 
fakeroot: is modified so that from the program view point it looks as if it 
fakeroot: has root permission. This is mostly useful for development purposes. 
fakeroot:  
fakeroot: 
fakeroot:
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/fakeroot*
	tar -xf $CHROOT_DIR/tmp/pkg/fakeroot_1.20-3.debian.tar.gz
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


