wok annotate libdesktop-agnostic/receipt @ rev 23190

updated mpc (0.31 -> 0.33)
author Hans-G?nter Theisgen
date Fri Mar 20 09:22:39 2020 +0100 (2020-03-20)
parents 4904e3d374a9
children 1bd2c6414e5a
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@11205 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11205 10 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
pascal@12611 11 WGET_URL="https://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL"
pascal@11205 12
pascal@14714 13 DEPENDS="glib gobject-introspection"
pascal@14714 14 BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \
pascal@14722 15 gobject-introspection-dev pygobject-dev GConf-dev wget"
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