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