void-packages/srcpkgs/fakeroot/template

23 lines
674 B
Bash
Raw Normal View History

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