diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-02 12:12:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-02 12:12:41 +0000 |
commit | 474fb2056b5dbb239f6087288f2ef4e9a19da068 (patch) | |
tree | 80593ebe842fd0a8408718e72a2e370729490101 /main/lua-ossl/APKBUILD | |
parent | 66d59399b4e12e0d5d530f5ede0f35643d7c2e2f (diff) | |
download | aports-474fb2056b5dbb239f6087288f2ef4e9a19da068.tar.bz2 aports-474fb2056b5dbb239f6087288f2ef4e9a19da068.tar.xz |
main/lua-ossl: moved from testing
Diffstat (limited to 'main/lua-ossl/APKBUILD')
-rw-r--r-- | main/lua-ossl/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/main/lua-ossl/APKBUILD b/main/lua-ossl/APKBUILD new file mode 100644 index 000000000..6e74ba1ad --- /dev/null +++ b/main/lua-ossl/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=lua-ossl +pkgver=20140322_git20140327 +_ver=${pkgver%_git*} +pkgrel=0 +pkgdesc="comprehensive OpenSSL Lua module" +url="http://25thandclement.com/~william/projects/luaossl.html" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev lua5.2-dev openssl-dev" +install="" +subpackages="" +source="luaossl-$_ver.tar.gz::https://github.com/wahern/luaossl/archive/rel-$_ver.tar.gz + git-2014.03.27.patch + " + +_builddir="$srcdir"/luaossl-rel-$_ver +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 +} + +build() { + cd "$_builddir" + make config prefix=/usr || return 1 + make openssl5.2 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install5.2 || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="d3c539499c0ff0b977d4fcfddf62da25 luaossl-20140322.tar.gz +4c8d92bf9498038aa61513a4fa6a3cda git-2014.03.27.patch" +sha256sums="b5e3e4426a08ec9874c47d406f4a562ca34748df2bbf0130e39418780364c40b luaossl-20140322.tar.gz +4616312a5a4ef196f4a8ff37e7b703651059aa3ef39a650d14f5621301a78024 git-2014.03.27.patch" +sha512sums="d4cb9af2cc42e707bac8031fff58345ae426688b4adceda77501ce581a8fb4901de07d6bf8ec9be655534e4f9501d932eb103847fe170d9da577e7d9fd8b87fd luaossl-20140322.tar.gz +af9beb0c5dc4709a3fcdeb40f127fcfb48d1d84ab9f4b3b2aad3a8e7ae4355dfd82348475c0c63408765bc7118414890dd60f42925353d10743a66871f8d153a git-2014.03.27.patch" |