shadow: rebuild for -dbg pkg; cross build support.
This commit is contained in:
parent
77807589d8
commit
d38603208f
1 changed files with 10 additions and 3 deletions
|
@ -1,20 +1,20 @@
|
|||
# Template file for 'shadow'
|
||||
pkgname=shadow
|
||||
version=4.1.5.1
|
||||
revision=11
|
||||
revision=12
|
||||
build_style=gnu-configure
|
||||
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
||||
--libdir=/usr/lib --enable-shared --disable-static
|
||||
--with-libpam --without-selinux --with-acl --with-attr"
|
||||
depends="pam"
|
||||
makedepends="acl-devel pam-devel"
|
||||
crossmakedepends="${makedepends}"
|
||||
short_desc="Shadow password file utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="BSD"
|
||||
homepage="http://pkg-shadow.alioth.debian.org"
|
||||
distfiles="$homepage/releases/$pkgname-$version.tar.bz2"
|
||||
checksum=aa32333748d68b58ed3a83625f0165e0f6b9dc4639e6377c9300c6bf4fe978fb
|
||||
long_desc="
|
||||
Shadow password file utilities for GNU/Linux."
|
||||
|
||||
conf_files="
|
||||
/etc/pam.d/usermod
|
||||
|
@ -37,6 +37,13 @@ conf_files="
|
|||
CFLAGS="-fPIE"
|
||||
LDFLAGS="-pie"
|
||||
|
||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||
makedepends="automake gettext-devel"
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
# Don't install the groups cmd, we use the one from coreutils.
|
||||
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||
|
|
Loading…
Reference in a new issue