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

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 910a47323bd7
children 688a27861b6e
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 WEB_SITE="https://developer.gnome.org/gnome-vfs/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev gconf-dev bzip2-dev shared-mime-info \
15 gnome-mime-data-dev libxml2-dev zlib-dev intltool gnutls-dev libgcrypt-dev \
16 libtool gtk-doc automake"
17 SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
19 compile_rules() {
20 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
21 libtoolize --force
22 gtkdocize
23 aclocal
24 autoconf
25 automake --add-missing
26 CFLAGS="$CFLAGS -fno-strict-aliasing" \
27 ./configure \
28 --disable-static \
29 --libexecdir=/usr/lib/gnome-vfs-2.0 \
30 --disable-hal \
31 --disable-howl \
32 --disable-openssl \
33 --enable-gnutls \
34 &&
35 fix libtool &&
36 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
37 make &&
38 make \
39 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
40 DESTDIR=$DESTDIR \
41 install || return 1
43 # mkdir -p $install/usr/share/gconf/schemas/
44 # gconf-merge-schema \
45 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
46 # --domain gnome-vfs-2.0 \
47 # $install/etc/gconf/schemas/*.schemas
48 # rm -f $install/etc/gconf/schemas/*.schemas
52 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
53 # ./configure \
54 # --prefix=/usr \
55 # --sysconfdir=/etc/gnome \
56 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
57 # --disable-schemas-install \
58 # $CONFIGURE_ARGS &&
59 # make && make DESTDIR=$DESTDIR install
60 }
62 genpkg_rules() {
63 case $PACKAGE in
64 gnome-vfs)
65 copy @std
66 DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \
67 orbit2 zlib"
68 ;;
69 *-dev)
70 copy @dev
71 DEPENDS="gnome-vfs gconf-dev glib-dev"
72 ;;
73 gnome-vfs-i18n)
74 copy locale/
75 CAT="localization|language files"
76 DEPENDS="gnome-vfs"
77 ;;
78 esac
79 }