summaryrefslogtreecommitdiffstats
path: root/testing/lua-crypto/APKBUILD
blob: de5e426a39a6f7834ace4054773153a231e1e41b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-crypto
pkgver=0.2.0
pkgrel=3
pkgdesc="a Lua frontend to the OpenSSL cryptographic library"
url="http://luacrypto.luaforge.net/"
arch="x86 x86_64"
license="MIT/X11"
depends=
makedepends="lua-dev openssl-dev"
install=
subpackages=
source="http://luaforge.net/frs/download.php/1722/luacrypto-0.2.0.tar.gz"

_builddir="$srcdir"/luacrypto-$pkgver
build() {
	cd "$_builddir"
	make LUA_VERSION_NUM=510 CFLAGS="$CFLAGS -fPIC" COMPAT_O=
}

package() {
	cd "$_builddir"
	make COMPAT_O= LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install
}

md5sums="1e1319d960f0760b113b3e7ad9a3607d  luacrypto-0.2.0.tar.gz"