aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-17 20:50:16 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:03:42 +0000
commitc8e5fdea32c14be7c06467883d3063c159404e81 (patch)
treedaaf60feb205a75e321d7b956be8ed5623268583
parentc216715c9a7e9a49f1fde8f1860654a97588d5fc (diff)
downloadaports-c8e5fdea32c14be7c06467883d3063c159404e81.tar.bz2
aports-c8e5fdea32c14be7c06467883d3063c159404e81.tar.xz
testing/pamtester: update config.gues
-rw-r--r--testing/pamtester/APKBUILD36
1 files changed, 16 insertions, 20 deletions
diff --git a/testing/pamtester/APKBUILD b/testing/pamtester/APKBUILD
index 8d5f1737da..8fbf8a870b 100644
--- a/testing/pamtester/APKBUILD
+++ b/testing/pamtester/APKBUILD
@@ -8,38 +8,34 @@ url="http://pamtester.sourceforge.net/"
arch="all"
license="BSD"
depends="linux-pam"
-depends_dev="linux-pam-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev linux-pam-dev"
install=""
subpackages="$pkgname-doc"
source="http://netix.dl.sourceforge.net/project/pamtester/pamtester/0.1.2/pamtester-0.1.2.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
}
+
md5sums="f441a6617cbc640ea02f3e22058c0461 pamtester-0.1.2.tar.gz"
sha256sums="83633d0e8a4f35810456d9d52261c8ae0beb9148276847cae8963505240fb2d5 pamtester-0.1.2.tar.gz"
sha512sums="baf4786ad735d73bce8f351071e658cffa5fa45dcf67045827f998555e6cff2bd7ff88dd751ab0198b7b1ecfb9c37ffc8ad0bcc5def098ea7143241a3d501168 pamtester-0.1.2.tar.gz"