Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0ab58939e53b58b598ff17a920d49f5ebdc1c35e

commit 0ab58939e53b58b598ff17a920d49f5ebdc1c35e
Author: exceed <exceed.ced...@gmail.com>
Date:   Sun Mar 28 01:03:38 2010 +0100

luaexpat-1.1-1-i686

* New package from Adrien Ramos (aka Kooda)

diff --git a/source/lib-extra/luaexpat/FrugalBuild 
b/source/lib-extra/luaexpat/FrugalBuild
new file mode 100644
index 0000000..371ac45
--- /dev/null
+++ b/source/lib-extra/luaexpat/FrugalBuild
@@ -0,0 +1,24 @@
+# Compiling Time: 0 SBU
+# Maintainer: exceed <exceed.ced...@gmail.com>
+# Contributor: Ramos Adrien <adrien.ra...@upyum.com>
+
+pkgname=luaexpat
+pkgver=1.1
+pkgrel=1
+pkgdesc='LuaExpat is a SAX XML parser based on the Expat library.'
+url='http://luaforge.net/projects/luaexpat/'
+depends=('lua' 'expat')
+groups=('lib-extra')
+archs=('i686' 'x86_64' 'ppc')
+up2date="Flasttar http://luaforge.net/frs/?group_id=13";
+source=(http://luaforge.net/frs/download.php/2469/$pkgname-$pkgver.tar.gz 
'config')
+sha1sums=('ea359bdbd346ee378c47179a17ac3ee410be5c9d' \
+          'd36758c69c0308d0972c1564301901b40ef12f78')
+
+build()
+{
+       Fcd
+       cp $Fsrcdir/config .
+       Fbuild
+}
+
diff --git a/source/lib-extra/luaexpat/config b/source/lib-extra/luaexpat/config
new file mode 100644
index 0000000..694367b
--- /dev/null
+++ b/source/lib-extra/luaexpat/config
@@ -0,0 +1,35 @@
+# Installation directories
+# System's libraries directory (where binary libraries are installed)
+LUA_LIBDIR= /var/tmp/fst/pkg/usr/lib/lua/5.1
+# System's lua directory (where Lua libraries are installed)
+LUA_DIR= /var/tmp/fst/pkg/usr/share/lua/5.1
+# Lua includes directory
+LUA_INC= /var/tmp/fst/pkg/usr/include
+# Expat includes directory
+EXPAT_INC= /var/tmp/fst/pkg/usr/include
+
+# OS dependent
+LIB_OPTION= -shared #for Linux
+
+LIBNAME= $T.so.$V
+# Lua version number
+# (according to Lua 5.1 definition:
+# first version digit * 100 + second version digit
+# e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
+LUA_VERSION_NUM= 501
+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) -fPIC
+CC = gcc
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to