wok-current rev 14066

Add gpick; lua-dev: fix pc file
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 20 15:07:19 2013 +0000 (2013-02-20)
parents 528df175b477
children f76b5b1ad11c
files gpick/receipt gpick/stuff/gpick.desktop lua-dev/receipt lua-dev/stuff/lua.pc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gpick/receipt	Wed Feb 20 15:07:19 2013 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gpick"
     1.7 +VERSION="0.2.5rc1"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Advanced color picker written in C++ using GTK+ toolkit"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://code.google.com/p/gpick/"
    1.12 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.13 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gtk+"
    1.16 +SUGGESTED="lua"
    1.17 +BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \
    1.18 +dbus-glib-dev lua-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	scons DESTDIR=$install BUILD_TARGET="i486" install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share
    1.30 +	cp -a $install/bin $fs/usr
    1.31 +	cp -a $install/share/$PACKAGE $fs/usr/share
    1.32 +	cp -a $install/share/icons $fs/usr/share
    1.33 +	cp -a $install/share/locale $fs/usr/share
    1.34 +	cp -a $install/share/man $fs/usr/share
    1.35 +}
    1.36 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gpick/stuff/gpick.desktop	Wed Feb 20 15:07:19 2013 +0000
     2.3 @@ -0,0 +1,11 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Gpick
     2.7 +Comment=Color picker
     2.8 +Comment[ru]=Пипетка для снятия цвета
     2.9 +Exec=gpick
    2.10 +Terminal=false
    2.11 +Icon=gpick
    2.12 +StartupNotify=true
    2.13 +Categories=GTK;Graphics;2DGraphics;
    2.14 +MimeType=text/x-utility;
     3.1 --- a/lua-dev/receipt	Wed Feb 20 12:48:01 2013 +0100
     3.2 +++ b/lua-dev/receipt	Wed Feb 20 15:07:19 2013 +0000
     3.3 @@ -14,5 +14,5 @@
     3.4  	mkdir -p $fs/usr/lib/pkgconfig $fs/usr
     3.5  	cp -a $install/usr/include $fs/usr
     3.6  	cp -a $install/usr/lib/liblua.a $fs/usr/lib
     3.7 -	cp -a $src/lua.pc $fs/usr/lib/pkgconfig
     3.8 +	cp -a $stuff/lua.pc $fs/usr/lib/pkgconfig
     3.9  }
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/lua-dev/stuff/lua.pc	Wed Feb 20 15:07:19 2013 +0000
     4.3 @@ -0,0 +1,17 @@
     4.4 +prefix=/usr
     4.5 +major_version=5.2
     4.6 +version=5.2.1
     4.7 +
     4.8 +exec_prefix=${prefix}
     4.9 +#lib_name=lua${major_version}
    4.10 +lib_name=lua
    4.11 +libdir=${prefix}/lib
    4.12 +includedir=${prefix}/include
    4.13 +
    4.14 +Name: Lua
    4.15 +Description: Lua language engine
    4.16 +Version: ${version}
    4.17 +Requires:
    4.18 +Libs: -L${libdir} -l${lib_name} -lm -ldl
    4.19 +Libs.private: -lm -ldl
    4.20 +Cflags: -I${includedir}