wok-next view gnome-vfs/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | f48456621a9d |
children |
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="devel@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="gtk2-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="$PACKAGE-dev $PACKAGE-i18n"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
21 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
22 libtoolize --force
23 gtkdocize
24 aclocal
25 autoconf
26 automake --add-missing
27 CFLAGS="$CFLAGS -fno-strict-aliasing" \
28 ./configure \
29 --disable-static \
30 --libexecdir=/usr/lib/gnome-vfs-2.0 \
31 --disable-hal \
32 --disable-howl \
33 --disable-openssl \
34 --enable-gnutls \
35 &&
36 fix libtool &&
37 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
38 make &&
39 make \
40 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
41 DESTDIR=$install \
42 install || return 1
44 # mkdir -p $install/usr/share/gconf/schemas/
45 # gconf-merge-schema \
46 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
47 # --domain gnome-vfs-2.0 \
48 # $install/etc/gconf/schemas/*.schemas
49 # rm -f $install/etc/gconf/schemas/*.schemas
53 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
54 # ./configure \
55 # --prefix=/usr \
56 # --sysconfdir=/etc/gnome \
57 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
58 # --disable-schemas-install \
59 # $CONFIGURE_ARGS &&
60 # make &&
61 # make DESTDIR=$install install
62 }
64 genpkg_rules() {
65 case $PACKAGE in
66 gnome-vfs)
67 copy @std
68 DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \
69 orbit2 zlib"
70 ;;
71 *-dev)
72 copy @dev
73 DEPENDS="gnome-vfs gconf-dev glib-dev"
74 ;;
75 gnome-vfs-i18n)
76 copy locale/
77 CAT="localization|language files"
78 DEPENDS="gnome-vfs"
79 ;;
80 esac
81 }