wok-current annotate libgnome/receipt @ rev 11480
libgnome: add openssl to depends; add intltool to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | 0f920dfd9022 |
children | b7319995b37e |
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 \ |
gokhlayeh@11480 | 16 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool" |
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 \ |
pascal@11205 | 24 --localstatedir=/var/lib && |
pascal@11205 | 25 make && make install |
pascal@11205 | 26 } |
pascal@11205 | 27 |
pascal@11205 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11205 | 29 genpkg_rules() |
pascal@11205 | 30 { |
pascal@11205 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11205 | 32 cp -a $_pkg/etc $fs |
pascal@11205 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@11205 | 34 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib |
pascal@11205 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11205 | 36 |
pascal@11205 | 37 # Background |
pascal@11205 | 38 cp -a $_pkg/usr/share/gnome-background-* $fs/usr/share |
pascal@11205 | 39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@11205 | 40 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images |
pascal@11205 | 41 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ |
pascal@11205 | 42 gnome-default.jpg |
pascal@11205 | 43 |
pascal@11205 | 44 # Clean unwated files |
pascal@11205 | 45 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
pascal@11205 | 46 } |
pascal@11205 | 47 |