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