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