wok annotate libdesktop-agnostic/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (6 weeks ago) |
parents | 6c6c017c2e09 |
children |
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@24434 | 17 # What is the latest version available today? |
pascal@24434 | 18 current_version() |
pascal@24434 | 19 { |
pascal@24434 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 21 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 22 } |
pascal@24434 | 23 |
pascal@11205 | 24 # Rules to configure and make the package. |
pascal@11205 | 25 compile_rules() |
pascal@11205 | 26 { |
pascal@11205 | 27 cd $src |
pascal@11205 | 28 # Skip *.gir files... |
pascal@11205 | 29 sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript |
pascal@11205 | 30 ./waf configure \ |
pascal@11205 | 31 --prefix=/usr \ |
pascal@11205 | 32 --sysconfdir=/etc \ |
pascal@11205 | 33 --config-backends=gconf \ |
pascal@11205 | 34 --vfs-backends=gio \ |
pascal@11205 | 35 --desktop-entry-backends=glib && |
pascal@11205 | 36 ./waf && |
pascal@11205 | 37 ./waf install \ |
pascal@11205 | 38 --prefix=/usr \ |
pascal@14714 | 39 --destdir=$DESTDIR |
pascal@11205 | 40 } |
pascal@11205 | 41 |
pascal@11205 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11205 | 43 genpkg_rules() |
pascal@11205 | 44 { |
pascal@11205 | 45 mkdir -p $fs/usr |
pascal@14714 | 46 cp -a $install/etc $fs |
pascal@14714 | 47 cp -a $install/usr/bin $fs/usr |
pascal@14714 | 48 cp -a $install/usr/lib $fs/usr |
pascal@11205 | 49 } |
pascal@11205 | 50 |