diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-08 08:51:54 +0000 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-08 14:36:47 +0200 |
commit | e268c74d411e198445918f1b857de00695726258 (patch) | |
tree | d1b33d5414afaa24ba385b73209178de357878a5 /main/cracklib | |
parent | 41cc046dd3327dc7041376bf213b0d9eab656bf5 (diff) | |
download | aports-e268c74d411e198445918f1b857de00695726258.tar.bz2 aports-e268c74d411e198445918f1b857de00695726258.tar.xz |
main/cracklib: specify license
Diffstat (limited to 'main/cracklib')
-rw-r--r-- | main/cracklib/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/main/cracklib/APKBUILD b/main/cracklib/APKBUILD index 3c385b8d7..158439d80 100644 --- a/main/cracklib/APKBUILD +++ b/main/cracklib/APKBUILD @@ -6,22 +6,25 @@ pkgrel=0 pkgdesc="A library used to enforce strong passwords" url="http://sourceforge.net/projects/cracklib" arch="all" -license="GPL" +license="LGPL2+" depends="" makedepends="" install= subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - " +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$srcdir"/$pkgname-$pkgver + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } - build() { - - cd "$srcdir/$pkgname-$pkgver" - + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -37,7 +40,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 |