wok-undigest annotate libdesktop-agnostic/receipt @ rev 487
libgnomeui: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 16:48:26 2011 +0200 (2011-10-07) |
parents | f5abeb3ab28f |
children |
rev | line source |
---|---|
pankso@211 | 1 # SliTaz package receipt. |
pankso@211 | 2 |
pankso@211 | 3 PACKAGE="libdesktop-agnostic" |
pankso@211 | 4 VERSION="0.3.90" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@211 | 6 SHORT_DESC="Config API, a unified vfs API, and a desktop item editor for GLib." |
pankso@211 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@211 | 8 DEPENDS="glib gobject-introspection" |
pascal@451 | 9 BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \ |
pascal@451 | 10 gobject-introspection-dev pygobject-dev GConf-dev" |
pankso@211 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@211 | 12 WEB_SITE="https://launchpad.net/libdesktop-agnostic" |
pankso@211 | 13 WGET_URL="http://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL" |
pankso@211 | 14 |
pankso@211 | 15 # Rules to configure and make the package. |
pankso@211 | 16 compile_rules() |
pankso@211 | 17 { |
pankso@211 | 18 cd $src |
pascal@417 | 19 # Skip *.gir files... |
pascal@417 | 20 sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript |
pankso@211 | 21 ./waf configure \ |
pascal@417 | 22 --prefix=/usr \ |
pascal@417 | 23 --sysconfdir=/etc \ |
pascal@451 | 24 --config-backends=gconf \ |
pankso@211 | 25 --vfs-backends=gio \ |
devl547@352 | 26 --desktop-entry-backends=glib && |
pankso@211 | 27 ./waf && |
pankso@211 | 28 ./waf install \ |
pankso@211 | 29 --prefix=/usr \ |
pankso@211 | 30 --destdir=$PWD/_pkg |
pankso@211 | 31 } |
pankso@211 | 32 |
pankso@211 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@211 | 34 genpkg_rules() |
pankso@211 | 35 { |
pankso@211 | 36 mkdir -p $fs/usr |
pankso@211 | 37 cp -a $_pkg/etc $fs |
pankso@211 | 38 cp -a $_pkg/usr/bin $fs/usr |
pascal@417 | 39 cp -a $_pkg/usr/lib $fs/usr |
pankso@211 | 40 } |
pankso@211 | 41 |