wok-next view gnome-vfs/receipt @ rev 20259

xsave: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 18:34:13 2017 +0100 (2017-11-07)
parents c733dc0b3f6c
children 93930f418ffb
line source
1 # SliTaz package receipt v2.
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \
14 gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
15 SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc/gnome \
24 --libexecdir=/usr/lib/gnome-vfs-2.0 \
25 --disable-schemas-install \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 gnome-vfs)
35 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \
36 ORBit2 zlib"
37 mkdir -p $fs/usr/share $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
41 cp -a $install/usr/share/dbus* $fs/usr/share
42 cp -a $install/etc /$fs
44 # Clean unwated files
45 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
46 rm -rf ./include
47 ;;
48 gnome-vfs-dev)
49 CAT="development|The GNOME Virtual File System libraries dev files"
50 DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config"
51 mkdir -p $fs/usr/lib
53 cp -a $install/usr/include $fs/usr
54 cp -a $install/usr/lib/*.*a $fs/usr/lib
55 cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib
56 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
58 # Clean unwated files
59 cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \;
60 ;;
61 gnome-vfs-i18n)
62 CAT="localization|Language files for the GNOME Virtual File System libraries"
63 DEPENDS="gnome-vfs"
64 mkdir -p $fs/usr/share/locale
65 cp -a $install/usr/share/locale/* $fs/usr/share/locale
66 ;;
67 esac
68 }