wok-next view libgnome/receipt @ rev 20344

Up (v2): libgnome-keyring, libgnome, libgnomecanvas, libgnomecanvasmm, libgnomeprint, libgnomeprintui, libgnomeui, libgooglepinyin, libgpod, libqcow, libzeitgeist
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 18 13:59:34 2017 +0200 (2017-11-18)
parents 04d511d5c6bd
children b19ddba309f9
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 SPLIT="libgnome-dev"
18 compile_rules() {
19 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
21 ./configure \
22 --sysconfdir=/etc/gnome \
23 --localstatedir=/var/lib \
24 $CONFIGURE_ARGS &&
25 make && make install || return 1
27 mkdir -p $install/usr/share/images
28 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
29 $install/usr/share/images/gnome-default.jpg
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libgnome)
35 copy @std
36 DEPENDS="GConf alsa-lib audiofile dbus dbus-glib esound glib \
37 gnome-vfs libbonobo libffi liblzma libxml2 orbit2 pcre popt \
38 util-linux-blkid util-linux-mount util-linux-uuid zlib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libgnome GConf-dev alsa-lib-dev audiofile-dev dbus-dev \
43 dbus-glib-dev esound-dev glib-dev gnome-vfs-dev libbonobo-dev \
44 libffi-dev libxml2-dev orbit2-dev pcre-dev popt-dev \
45 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
46 xz-dev zlib-dev"
47 ;;
48 esac
49 }