Changes

no edit summary
Line 50: Line 50:  
* {{Code|LUAPATHDIR}}, equal to Lua's {{Code|LUA_PATH}} environment variable;
 
* {{Code|LUAPATHDIR}}, equal to Lua's {{Code|LUA_PATH}} environment variable;
 
* {{Code|LUAINCDIR}}, path to a directory with Lua's C header file;
 
* {{Code|LUAINCDIR}}, path to a directory with Lua's C header file;
 +
 +
== Example ==
 +
 +
[DEFAULT]
 +
depends  = gtk; pygtk; pyxpcom < 2
 +
 +
[Package]
 +
project  = SweetsDistribution:0.94:SugarNetwork
 +
name      = hulahop
 +
context  = %(name)s
 +
summary  = A pygtk widget for embedding mozilla
 +
homepage  = http://sugarlabs.org/
 +
license  = LGPLv2+
 +
 +
version  = 0.8.2
 +
stability = stable
 +
 +
requires  = %(depends)s
 +
replaces  = sweets-hulahop
 +
 +
[Archive]
 +
arch      = any
 +
 +
[Build]
 +
requires  = %(depends)s; pkg-config; intltool >= 0.33
 +
            libtool; make; gcc-c++
 +
pyxpcom  = /opt/sweets/pyxpcom
 +
configure = ./configure
 +
                --prefix=%(PREFIX)s
 +
                am_cv_python_pythondir=%(PREFIX)s/python
 +
                am_cv_python_pyexecdir=%(PREFIX)s/python
 +
                CXXFLAGS="%(CFLAGS)s -I%(pyxpcom)s/include"
 +
                LDFLAGS="-L%(pyxpcom)s/lib -Wl,-rpath,%(pyxpcom)s/lib"
 +
make      = make
 +
install  = make DESTDIR=%(DESTDIR)s install
 +
 +
[Source]
 +
exec      = make dist-gzip