blob: d213b099c85762d7fe551888ac25792dec1f438f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=lua-ossl
pkgver=20140328
_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
"
_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="d7021b5748716af836b9e7671d833c68 luaossl-20140328.tar.gz"
sha256sums="10f6a8f7232705d8291fa620ce36a5cc2d9c0d1ae3cb47bda1895e308de71fe8 luaossl-20140328.tar.gz"
sha512sums="2c013f3b533d0bc703c3e69a48d0d08d4703c26d9433363f88fd937ff284743605973665ceb70a03f3c4d92c6c7066ac768e5ef2b086f74dc9f5102b090cf8e6 luaossl-20140328.tar.gz"
|