diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-31 20:12:35 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-31 20:32:53 +0100 |
commit | c8d463d461d40570036b403a6ab57661e60bcec5 (patch) | |
tree | caf668fd692111b80da9c16dd2828e4149344912 /main/lua-ossl | |
parent | 6940ebb3a8bca22aa8ecd1c2d859565e24b7b12f (diff) | |
download | aports-c8d463d461d40570036b403a6ab57661e60bcec5.tar.bz2 aports-c8d463d461d40570036b403a6ab57661e60bcec5.tar.xz |
main/lua-ossl: modernize abuild
Diffstat (limited to 'main/lua-ossl')
-rw-r--r-- | main/lua-ossl/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/lua-ossl/APKBUILD b/main/lua-ossl/APKBUILD index 94c2b38853..aa930c5b78 100644 --- a/main/lua-ossl/APKBUILD +++ b/main/lua-ossl/APKBUILD @@ -1,7 +1,5 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> - -_luaversions="5.1 5.2 5.3" pkgname=lua-ossl _pkgname=luaossl pkgver=20170903 @@ -14,19 +12,21 @@ license="MIT" depends="" makedepends="libressl-dev" subpackages="" +source="$_pkgname-$_ver.tar.gz::https://github.com/wahern/$_pkgname/archive/rel-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-rel-$pkgver" + +_luaversions="5.1 5.2 5.3" for _v in $_luaversions; do makedepends="$makedepends lua$_v-dev" subpackages="$subpackages lua$_v-${pkgname#lua-}:_package" done -source="luaossl-$_ver.tar.gz::https://github.com/wahern/$_pkgname/archive/rel-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-rel-$pkgver" build() { cd "$builddir" - make config prefix=/usr || return 1 + make config prefix=/usr local lver; for lver in $_luaversions; do - make openssl$lver || return 1 + make openssl$lver done } |