void-packages/srcpkgs/sed/template

26 lines
616 B
Plaintext

# Template file for 'sed'
pkgname=sed
version=4.2.2
revision=2
build_style=gnu-configure
configure_args="--enable-acl"
makedepends="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 [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_func_aclsort=yes"
LDFLAGS="-L${XBPS_CROSS_BASE}/lib -lacl"
fi
sed_package() {
conflicts="chroot-sed>=0"
pkg_install() {
vmove usr
}
}