wok-4.x diff libdesktop-agnostic/receipt @ rev 12450
postgis: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 13:21:45 2015 +0100 (2015-02-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdesktop-agnostic/receipt Sun Feb 08 13:21:45 2015 +0100 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 +