aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libpwquality
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-06 07:23:28 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-06 07:23:50 +0000
commitd8421a87b8eb27b456b2840713748932b2f63b12 (patch)
tree23c9a5f25f0f65bbec0d75e1abb76c5690351b45 /testing/libpwquality
parent8a7a371e8253160697c08dad5174afb27164c829 (diff)
downloadaports-d8421a87b8eb27b456b2840713748932b2f63b12.tar.bz2
aports-d8421a87b8eb27b456b2840713748932b2f63b12.tar.xz
testing/libpwquality: new aport
Diffstat (limited to 'testing/libpwquality')
-rw-r--r--testing/libpwquality/APKBUILD36
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"