lua51-luasec: fix cross
This commit is contained in:
parent
53ae19e009
commit
570ee66379
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'lua51-luasec'
|
# Template file for 'lua51-luasec'
|
||||||
pkgname=lua51-luasec
|
pkgname=lua51-luasec
|
||||||
version=0.5.1
|
version=0.5.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname#*-}-${pkgname#*-}-${version}
|
wrksrc=${pkgname#*-}-${pkgname#*-}-${version}
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="lua51"
|
||||||
makedepends="lua51-devel libressl-devel"
|
makedepends="lua51-devel libressl-devel"
|
||||||
depends="lua51"
|
depends="lua51"
|
||||||
short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication"
|
short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication"
|
||||||
|
@ -16,7 +17,7 @@ checksum=6d5c5f8e0521f3194668d9a839774e079e2fd5c45b15538dc7b8cacc56719406
|
||||||
replaces="luasec<=0.5.1_1"
|
replaces="luasec<=0.5.1_1"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.h
|
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
|
make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue