From f724dea7b5fdf74ca3968c6694797cd6b73782e7 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 9 Mar 2016 23:15:38 +0100 Subject: [PATCH] lua52-luasec: fix install --- srcpkgs/lua52-luasec/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/lua52-luasec/template b/srcpkgs/lua52-luasec/template index adb13704d99..4fb63c8cde5 100644 --- a/srcpkgs/lua52-luasec/template +++ b/srcpkgs/lua52-luasec/template @@ -1,7 +1,7 @@ # Template file for 'lua52-luasec' pkgname=lua52-luasec version=0.6 -revision=1 +revision=2 wrksrc=${pkgname#*-}-${pkgname#*-}-${version} build_style=gnu-makefile hostmakedepends="lua52" @@ -16,11 +16,12 @@ 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 + 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 + export LUAPATH=${DESTDIR}/usr/share/lua/5.2 + export LUACPATH=${DESTDIR}/usr/lib/lua/5.2 vlicense LICENSE }