diff options
Diffstat (limited to 'main/lua-ossl/APKBUILD')
-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 } |