wok view gnome-vfs/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 6e8b1bcb30e2
children
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
14 zlib"
15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
16 libxml2-dev zlib-dev intltool pkg-config"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc/gnome \
31 --libexecdir=/usr/lib/gnome-vfs-2.0 \
32 --disable-schemas-install \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
44 cp -a $install/usr/share/dbus* $fs/usr/share
45 cp -a $install/etc /$fs
47 # Clean unwated files
48 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
49 rm -rf ./include
50 }