mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 12:12:24 +01:00
27 lines
610 B
Plaintext
27 lines
610 B
Plaintext
# Contributor:
|
|
# Maintainer:
|
|
pkgname=lua-crypto
|
|
pkgver=0.2.0
|
|
pkgrel=2
|
|
pkgdesc="a Lua frontend to the OpenSSL cryptographic library"
|
|
url="http://luacrypto.luaforge.net/"
|
|
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" 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"
|