blob: 6e74ba1ad3e8609b6504706bb977add4fbea8feb (
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
45
46
47
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"
|