wok view libdesktop-agnostic/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (2019-06-14)
parents 4904e3d374a9
children 1bd2c6414e5a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
11 WGET_URL="https://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL"
13 DEPENDS="glib gobject-introspection"
14 BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \
15 gobject-introspection-dev pygobject-dev GConf-dev wget"
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 }