New package: lua52-luasec-0.6
This commit is contained in:
parent
81eaaaa0d5
commit
0cc7eebeff
1 changed files with 26 additions and 0 deletions
26
srcpkgs/lua52-luasec/template
Normal file
26
srcpkgs/lua52-luasec/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'lua52-luasec'
|
||||
pkgname=lua52-luasec
|
||||
version=0.6
|
||||
revision=1
|
||||
wrksrc=${pkgname#*-}-${pkgname#*-}-${version}
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="lua52"
|
||||
makedepends="lua52-devel libressl-devel"
|
||||
depends="lua52"
|
||||
short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/brunoos/luasec"
|
||||
distfiles="https://github.com/brunoos/luasec/archive/${pkgname#*-}-${version}.tar.gz"
|
||||
checksum=cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d
|
||||
|
||||
do_build() {
|
||||
lua src/options.lua -g ${XBPS_CROSS_BASE}/usr/include/openssl/ssl.h > src/options.h
|
||||
make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
export LUAPATH=/usr/share/lua/5.2
|
||||
export LUACPATH=/usr/lib/lua/5.2
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Reference in a new issue