wok view libgnome/receipt @ rev 11454
ayttm: add xorg-libXpm to depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 11:42:21 2011 +0100 (2011-12-17) |
parents | |
children | a7acdc68e38c |
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 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
15 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --sysconfdir=/etc/gnome \
23 --localstatedir=/var/lib &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 # Background
37 cp -a $_pkg/usr/share/gnome-background-* $fs/usr/share
38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
39 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
40 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
41 gnome-default.jpg
43 # Clean unwated files
44 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
45 }