wok-next view libgnome/receipt @ rev 20519

Synchronize wok-hg with wok. Some yesterday's patches are lost :(
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 10:45:35 2018 +0200 (2018-03-23)
parents 16a417e1e89d
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgnome"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
15 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev \
16 gnutls-dev libgcrypt-dev"
17 SPLIT="libgnome-dev"
19 compile_rules() {
20 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
22 ./configure \
23 --sysconfdir=/etc/gnome \
24 --localstatedir=/var/lib \
25 $CONFIGURE_ARGS &&
26 make && make install || return 1
28 mkdir -p $install/usr/share/images
29 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
30 $install/usr/share/images/gnome-default.jpg
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libgnome)
36 copy @std
37 DEPENDS="GConf alsa-lib audiofile dbus dbus-glib esound glib \
38 gnome-vfs libbonobo libffi liblzma libxml2 orbit2 pcre popt \
39 util-linux-blkid util-linux-mount util-linux-uuid zlib"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libgnome GConf-dev alsa-lib-dev audiofile-dev dbus-dev \
44 dbus-glib-dev esound-dev glib-dev gnome-vfs-dev libbonobo-dev \
45 libffi-dev libxml2-dev orbit2-dev pcre-dev popt-dev \
46 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
47 xz-dev zlib-dev"
48 ;;
49 esac
50 }