void-packages/srcpkgs/sed/template

22 lines
644 B
Plaintext

# Template file for 'sed'
pkgname=sed
version=4.2.2
revision=2
conflicts="chroot-sed>=0"
build_style=gnu-configure
configure_args="--enable-acl"
makedepends="acl-devel"
crossmakedepends="acl-devel"
short_desc="The GNU stream editor"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/sed"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
unset makedepends
configure_args="${configure_args} ac_cv_func_aclsort=yes"
LDFLAGS="-L/usr/$XBPS_CROSS_TRIPLET/lib -lacl"
fi