diff options
Diffstat (limited to 'community/shadow/APKBUILD')
-rw-r--r-- | community/shadow/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/community/shadow/APKBUILD b/community/shadow/APKBUILD index 96fb9a1964..453d578d2d 100644 --- a/community/shadow/APKBUILD +++ b/community/shadow/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=shadow pkgver=4.2.1 -pkgrel=9 +pkgrel=10 pkgdesc="PAM-using login and passwd utilities (usermod, useradd, ...)" url="http://pkg-shadow.alioth.debian.org/" arch="all" @@ -31,7 +31,11 @@ builddir="$srcdir/shadow-$pkgver" build() { cd "$builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --target=$CTARGET \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -49,6 +53,11 @@ build() { make || return 1 } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" |