|
|
|
@ -2,8 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../luaexpat/luaexpat.conf |
|
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 The T2 SDE Project |
|
|
|
|
# Copyright (C) 2009 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -13,19 +12,5 @@
|
|
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
pkgprefix -t lua expat |
|
|
|
|
|
|
|
|
|
LIBNAME=lxp-${ver}.so |
|
|
|
|
LUA_INC=$( pkgprefix includedir lua ) |
|
|
|
|
EXPAT_INC=$( pkgprefix includedir expat ) |
|
|
|
|
|
|
|
|
|
var_append makeopt ' ' "LIBNAME=lxp-${ver}.so" |
|
|
|
|
var_append makeopt ' ' "LIB_OPTION='-shared -lexpat $myLIBS'" |
|
|
|
|
|
|
|
|
|
var_append CFLAGS ' ' "-ansi -O2 -fPIC -fpic -I$LUA_INC -I$EXPAT_INC $myCFLAGS" |
|
|
|
|
export CFLAGS |
|
|
|
|
|
|
|
|
|
var_append makeinstopt ' ' "LUA_LIBDIR=$root/$pkglibdir" |
|
|
|
|
var_append makeinstopt ' ' "LUA_DIR=$root/$pkgdatadir" |
|
|
|
|
var_append makeinstopt ' ' "LIBNAME=lxp-${ver}.so" |
|
|
|
|
|
|
|
|
|
var_append makeinstopt ' ' "LUA_LIBDIR=$root$lualibdir" |
|
|
|
|
var_append makeinstopt ' ' "LUA_DIR=$root$luadatadir" |
|
|
|
|