wok-6.x view libdesktop-agnostic/receipt @ rev 12949
asterisk: dahdi needs tonezone
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 31 09:56:44 2012 +0200 (2012-05-31) |
parents | 0f920dfd9022 |
children | 4904e3d374a9 |
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 wget"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
13 WGET_URL="https://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 }