wok-next view libdesktop-agnostic/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdesktop-agnostic"
4 VERSION="0.3.94post20160502"
5 COMMIT="be0f0cb"
6 CATEGORY="x-window"
7 SHORT_DESC="Desktop agnostic library for GLib-based projects"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
12 TARBALL="libdesktop-agnostic-${COMMIT:-$VERSION}.tar.gz"
13 WGET_URL="https://github.com/p12tic/libdesktop-agnostic/archive/${COMMIT:-v$VERSION}.tar.gz"
15 BUILD_DEPENDS="python-dev vala gettext-dev intltool gtk2-dev gconf-dev \
16 gobject-introspection-dev python-pygobject2-dev python-pygtk-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 # site script isn't used
21 ./waf configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --config-backends=gconf \
25 --vfs-backends=gio \
26 --desktop-entry-backends=glib &&
27 ./waf &&
28 ./waf install \
29 --prefix=/usr \
30 --destdir=$install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libdesktop-agnostic)
36 copy @std
37 DEPENDS="gconf atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 \
38 pango python"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libdesktop-agnostic glib-dev gtk2-dev"
43 ;;
44 esac
45 }