wok view libdesktop-agnostic/receipt @ rev 14714

lib[a-n]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:41:23 2013 +0200 (2013-06-11)
parents d3d12297bd9c
children 6c6c017c2e09
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 LICENSE="LGPL2.1"
9 gobject-introspection-dev pygobject-dev GConf-dev wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
12 WGET_URL="https://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL"
14 DEPENDS="glib gobject-introspection"
15 BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Skip *.gir files...
22 sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript
23 ./waf configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --config-backends=gconf \
27 --vfs-backends=gio \
28 --desktop-entry-backends=glib &&
29 ./waf &&
30 ./waf install \
31 --prefix=/usr \
32 --destdir=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }