wok-current annotate 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
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libdesktop-agnostic"
pascal@11205 4 VERSION="0.3.90"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="Config API, a unified vfs API, and a desktop item editor for GLib."
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
pascal@12611 9 gobject-introspection-dev pygobject-dev GConf-dev wget"
pascal@11205 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11205 11 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
pascal@12611 12 WGET_URL="https://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL"
pascal@11205 13
pascal@14714 14 DEPENDS="glib gobject-introspection"
pascal@14714 15 BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \
pascal@14714 16
pascal@11205 17 # Rules to configure and make the package.
pascal@11205 18 compile_rules()
pascal@11205 19 {
pascal@11205 20 cd $src
pascal@11205 21 # Skip *.gir files...
pascal@11205 22 sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript
pascal@11205 23 ./waf configure \
pascal@11205 24 --prefix=/usr \
pascal@11205 25 --sysconfdir=/etc \
pascal@11205 26 --config-backends=gconf \
pascal@11205 27 --vfs-backends=gio \
pascal@11205 28 --desktop-entry-backends=glib &&
pascal@11205 29 ./waf &&
pascal@11205 30 ./waf install \
pascal@11205 31 --prefix=/usr \
pascal@14714 32 --destdir=$DESTDIR
pascal@11205 33 }
pascal@11205 34
pascal@11205 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 36 genpkg_rules()
pascal@11205 37 {
pascal@11205 38 mkdir -p $fs/usr
pascal@14714 39 cp -a $install/etc $fs
pascal@14714 40 cp -a $install/usr/bin $fs/usr
pascal@14714 41 cp -a $install/usr/lib $fs/usr
pascal@11205 42 }
pascal@11205 43