wok diff lua-dev/receipt @ rev 10873

enigma: Doesn't cross compile. Clean up. Save 800kb in package size.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 12:05:02 2011 +0000 (2011-06-19)
parents 217ec201c18e
children 0769826c3fc4
line diff
     1.1 --- a/lua-dev/receipt	Wed Jan 21 10:34:09 2009 +0000
     1.2 +++ b/lua-dev/receipt	Sun Jun 19 12:05:02 2011 +0000
     1.3 @@ -11,14 +11,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
     1.8 -	# include
     1.9 -	for i in lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
    1.10 -	do
    1.11 -		cp -a $src/src/$i $fs/usr/include
    1.12 -	done
    1.13 -	# liblua.a
    1.14 -	cp -a $src/src/liblua.a $fs/usr/lib
    1.15 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr
    1.16 +	cp -a $install/usr/include $fs/usr
    1.17 +	cp -a $install/usr/lib/liblua.a $fs/usr/lib
    1.18  	cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig
    1.19  }
    1.20 -