aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-08 05:42:09 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-08 14:59:47 +0000
commite064519656ce52423a245cf27ae4b650c4ac71a0 (patch)
tree0efcd05ba64198487bdd8b1d97b554e55c39c8fa
parent8c989354ffb83a2f4e86f6a4fd36aaf06f157bf6 (diff)
downloadaports-e064519656ce52423a245cf27ae4b650c4ac71a0.tar.gz
aports-e064519656ce52423a245cf27ae4b650c4ac71a0.tar.bz2
aports-e064519656ce52423a245cf27ae4b650c4ac71a0.tar.xz
main/oath-toolkit: modernize
-rw-r--r--main/oath-toolkit/APKBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/main/oath-toolkit/APKBUILD b/main/oath-toolkit/APKBUILD
index e14d1a402e..0bf1599fd2 100644
--- a/main/oath-toolkit/APKBUILD
+++ b/main/oath-toolkit/APKBUILD
@@ -1,21 +1,27 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Jann - Ove Risvik <jann.ove@dev.usaklig.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=oath-toolkit
pkgver=2.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="OATH Toolkit One-time password components"
url="http://www.nongnu.org/oath-toolkit/index.html"
arch="all"
-license="various"
+license="GPL-3.0-or-later"
depends="perl cvs diffutils"
-makedepends="linux-pam-dev libxml2-dev xmlsec-dev autoconf automake libtool gtk-doc"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-liboath $pkgname-libpskc $pkgname-oathtool $pkgname-pam_oath"
-source="https://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-${pkgver}.tar.gz
- oath-toolkit-2.6.2-gcc7.patch"
+makedepends="linux-pam-dev libxml2-dev xmlsec-dev autoconf automake libtool
+ gtk-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-liboath $pkgname-libpskc
+ $pkgname-oathtool $pkgname-pam_oath"
+source="https://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-$pkgver.tar.gz
+ oath-toolkit-2.6.2-gcc7.patch"
-build() {
- cd "$builddir"
+prepare() {
+ default_prepare
autoreconf --force --install
+}
+
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,7 +33,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}