wok diff libdesktop-agnostic/receipt @ rev 12529

xine-ui: add libpng-dev to bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 10:14:57 2012 +0200 (2012-04-25)
parents
children d3d12297bd9c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libdesktop-agnostic/receipt	Wed Apr 25 10:14:57 2012 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libdesktop-agnostic"
     1.7 +VERSION="0.3.90"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Config API, a unified vfs API, and a desktop item editor for GLib."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="glib gobject-introspection"
    1.12 +BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \
    1.13 +gobject-introspection-dev pygobject-dev GConf-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="https://launchpad.net/libdesktop-agnostic"
    1.16 +WGET_URL="http://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	# Skip *.gir files...
    1.23 +	sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript 
    1.24 +	./waf configure \
    1.25 +		--prefix=/usr \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--config-backends=gconf \
    1.28 +		--vfs-backends=gio \
    1.29 +		--desktop-entry-backends=glib &&
    1.30 +	./waf &&
    1.31 +	./waf install \
    1.32 +		--prefix=/usr \
    1.33 +		--destdir=$PWD/_pkg
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr
    1.40 +	cp -a $_pkg/etc $fs
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +	cp -a $_pkg/usr/lib $fs/usr
    1.43 +}
    1.44 +