summaryrefslogtreecommitdiffstats
path: root/main/lua-expat/newconfig
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:15:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:15:55 +0000
commit3609d312b0eb1dfc7c5ce40645332556d3c4b3a2 (patch)
treed0e0997916f5d2ba73e77fd25e82dbf736cc1127 /main/lua-expat/newconfig
parenta9f95c6fe4fe590a9d4221981b565c83521addff (diff)
downloadaports-3609d312b0eb1dfc7c5ce40645332556d3c4b3a2.tar.bz2
aports-3609d312b0eb1dfc7c5ce40645332556d3c4b3a2.tar.xz
main/lua-expat: renamed from luaexpat
Diffstat (limited to 'main/lua-expat/newconfig')
-rw-r--r--main/lua-expat/newconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/lua-expat/newconfig b/main/lua-expat/newconfig
new file mode 100644
index 000000000..7d8d6331f
--- /dev/null
+++ b/main/lua-expat/newconfig
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua/5.1
+LUA_DIR= usr/share/lua/5.1
+LUA_INC= /usr/include
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 514
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+ -Waggregate-return \
+ -Wcast-align \
+ -Wmissing-prototypes \
+ -Wstrict-prototypes \
+ -Wnested-externs \
+ -Wpointer-arith \
+ -Wshadow \
+ -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+ -I$(COMPAT_DIR) -I$(EXPAT_INC)
+CC = gcc