31 lines
792 B
Bash
31 lines
792 B
Bash
# Template file for 'fakeroot'
|
|
pkgname=fakeroot
|
|
version=1.24
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="acl-devel libcap-devel"
|
|
short_desc="Gives a fake root environment"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://packages.debian.org/fakeroot"
|
|
distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=2e045b3160370b8ab4d44d1f8d267e5d1d555f1bb522d650e7167b09477266ed
|
|
|
|
lib32disabled=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) CFLAGS="-D_STAT_VER=0" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
sed -i /SUBDIRS/d doc/Makefile.am
|
|
sh ./bootstrap
|
|
}
|
|
|
|
post_install() {
|
|
# Use /bin/sh shebang.
|
|
sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot
|
|
}
|