wok-current view libdesktop-agnostic/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
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 }