wok-6.x view gnome-vfs/receipt @ rev 10599

parole: fix bdeps and clean
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 15:26:37 2011 +0200 (2011-05-26)
parents 5be1dee36669
children e36a9f8bbcfc
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-vfs"
4 VERSION="2.24.4"
5 CATEGORY="x-window"
6 SHORT_DESC="The GNOME Virtual File System libraries"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="dbus-glib GConf gnome-mime-data"
9 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc/gnome \
21 --libexecdir=/usr/lib/gnome-vfs-2.0 \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/dbus* $fs/usr/share
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib
35 # Clean unwated files
36 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
38 # Stripping all
39 }