wok-current view libgnome/receipt @ rev 11585

gecko-mediaplayer: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 08 17:32:11 2012 +0100 (2012-01-08)
parents b7319995b37e
children 2dff4b8a04bc
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnome"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Library"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 GENERIC_PIXMAPS="no"
13 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \
14 openssl"
15 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
16 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --sysconfdir=/etc/gnome \
24 --localstatedir=/var/lib \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 # Background
39 cp -a $_pkg/usr/share/gnome-background-* $fs/usr/share
40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
41 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
42 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
43 gnome-default.jpg
45 # Clean unwated files
46 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
47 }