diff options
Diffstat (limited to 'testing/libpwquality')
-rw-r--r-- | testing/libpwquality/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/libpwquality/APKBUILD b/testing/libpwquality/APKBUILD new file mode 100644 index 0000000000..808f8ea9ec --- /dev/null +++ b/testing/libpwquality/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=libpwquality +pkgver=1.4.0 +pkgrel=0 +pkgdesc="password quality library" +url="http://github.com/libpwquality/libpwquality" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="cracklib-dev $depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$pkgver/libpwquality-$pkgver.tar.bz2" +builddir="$srcdir/libpwquality-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-python-bindings \ + --disable-pam + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="b8049f8b71bbfd4d345dbd4c4cffd29e9029b0fca4c95527af54d11a3b06e4708236b630df6c66738368298679c96cb3bf26b1b5d95cb3c5f7e1073cab8a98d9 libpwquality-1.4.0.tar.bz2" |