aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-23 06:05:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-23 11:41:01 +0000
commit54cd15e84a3d5d1d998f758f30075e9ec5e7b21a (patch)
tree1a0e4b8a9a1b77cc53f2d644ee9f507f15a7cf66
parent7fca5c0641cd799a0a3e69e815aa968f27b4ea3c (diff)
downloadaports-54cd15e84a3d5d1d998f758f30075e9ec5e7b21a.tar.gz
aports-54cd15e84a3d5d1d998f758f30075e9ec5e7b21a.tar.bz2
aports-54cd15e84a3d5d1d998f758f30075e9ec5e7b21a.tar.xz
community/liboauth: modernize
-rw-r--r--community/liboauth/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/community/liboauth/APKBUILD b/community/liboauth/APKBUILD
index b7a1a70f48..f3c24e44c8 100644
--- a/community/liboauth/APKBUILD
+++ b/community/liboauth/APKBUILD
@@ -6,19 +6,16 @@ pkgdesc="OAuth library functions"
url="http://liboauth.sourceforge.net/"
arch="all"
license="MIT"
-depends=""
makedepends="nss-dev curl-dev automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/x42/liboauth/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$builddir"
+ default_prepare
autoreconf -vif
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,12 +30,10 @@ build() {
}
check() {
- cd "$builddir"
- make check
+ make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}