wok-next annotate 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
rev   line source
pascal@20184 1 # SliTaz package receipt v2.
slaxemulator@7751 2
slaxemulator@7751 3 PACKAGE="gnome-vfs"
slaxemulator@7751 4 VERSION="2.24.4"
slaxemulator@7751 5 CATEGORY="x-window"
slaxemulator@7751 6 SHORT_DESC="The GNOME Virtual File System libraries"
slaxemulator@7751 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20519 9 WEB_SITE="https://developer.gnome.org/gnome-vfs/"
al@20519 10
slaxemulator@7751 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13535 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@13535 13
al@20956 14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev gconf-dev bzip2-dev shared-mime-info \
al@20579 15 gnome-mime-data-dev libxml2-dev zlib-dev intltool gnutls-dev libgcrypt-dev \
al@20519 16 libtool gtk-doc automake"
pascal@20184 17 SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
slaxemulator@7751 18
al@20519 19 compile_rules() {
al@20519 20 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
al@20519 21 libtoolize --force
al@20519 22 gtkdocize
al@20519 23 aclocal
al@20519 24 autoconf
al@20519 25 automake --add-missing
al@20519 26 CFLAGS="$CFLAGS -fno-strict-aliasing" \
slaxemulator@7751 27 ./configure \
al@20519 28 --disable-static \
slaxemulator@7751 29 --libexecdir=/usr/lib/gnome-vfs-2.0 \
al@20519 30 --disable-hal \
al@20519 31 --disable-howl \
al@20519 32 --disable-openssl \
al@20519 33 --enable-gnutls \
al@20519 34 &&
al@20573 35 fix libtool &&
al@20573 36 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
al@20519 37 make &&
al@20519 38 make \
al@20519 39 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
al@20519 40 DESTDIR=$DESTDIR \
al@20519 41 install || return 1
al@20519 42
al@20519 43 # mkdir -p $install/usr/share/gconf/schemas/
al@20519 44 # gconf-merge-schema \
al@20519 45 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
al@20519 46 # --domain gnome-vfs-2.0 \
al@20519 47 # $install/etc/gconf/schemas/*.schemas
al@20519 48 # rm -f $install/etc/gconf/schemas/*.schemas
al@20519 49
al@20519 50
al@20519 51
al@20519 52 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
al@20519 53 # ./configure \
al@20519 54 # --prefix=/usr \
al@20519 55 # --sysconfdir=/etc/gnome \
al@20519 56 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
al@20519 57 # --disable-schemas-install \
al@20519 58 # $CONFIGURE_ARGS &&
al@20519 59 # make && make DESTDIR=$DESTDIR install
slaxemulator@7751 60 }
slaxemulator@7751 61
al@20519 62 genpkg_rules() {
pascal@20184 63 case $PACKAGE in
al@20519 64 gnome-vfs)
al@20519 65 copy @std
al@20956 66 DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \
al@20460 67 orbit2 zlib"
al@20519 68 ;;
al@20519 69 *-dev)
al@20519 70 copy @dev
al@20956 71 DEPENDS="gnome-vfs gconf-dev glib-dev"
al@20519 72 ;;
al@20519 73 gnome-vfs-i18n)
al@20519 74 copy locale/
al@20519 75 CAT="localization|language files"
al@20519 76 DEPENDS="gnome-vfs"
al@20519 77 ;;
pascal@20184 78 esac
slaxemulator@7751 79 }