2008-10-21 04:36:29 +00:00
|
|
|
# Template file for 'fakeroot'
|
|
|
|
pkgname=fakeroot
|
2014-11-09 19:33:10 +00:00
|
|
|
version=1.20.2
|
2015-09-09 13:03:25 +00:00
|
|
|
revision=3
|
2014-03-15 09:05:34 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-10-23 09:24:03 +00:00
|
|
|
makedepends="acl-devel libcap-devel"
|
2011-09-01 07:32:41 +00:00
|
|
|
configure_args="--disable-static"
|
2008-10-21 04:36:29 +00:00
|
|
|
short_desc="Gives a fake root environment"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-06-14 13:25:09 +00:00
|
|
|
homepage="http://packages.debian.org/fakeroot"
|
|
|
|
license="GPL-3"
|
2013-02-01 10:10:35 +00:00
|
|
|
distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2"
|
2014-11-09 19:33:10 +00:00
|
|
|
checksum=7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c
|
2015-09-09 13:03:25 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) CFLAGS="-D_STAT_VER=0" ;;
|
|
|
|
esac
|
2008-10-21 04:36:29 +00:00
|
|
|
|
2011-12-03 07:05:38 +00:00
|
|
|
post_install() {
|
2010-04-21 14:50:53 +00:00
|
|
|
# Use /bin/sh shebang.
|
|
|
|
sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot
|
|
|
|
}
|