wok-current view libgnome/receipt @ rev 14718

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents 2dff4b8a04bc
children 04d511d5c6bd
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 GENERIC_PIXMAPS="no"
14 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \
15 openssl"
16 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
17 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc/gnome \
25 --localstatedir=/var/lib \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/bonobo $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 # Background
40 cp -a $install/usr/share/gnome-background-* $fs/usr/share
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
43 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
44 gnome-default.jpg
46 # Clean unwated files
47 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
48 }