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