wok-next annotate gnome-vfs/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
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" |
al@21020 | 7 MAINTAINER="devel@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@21017 | 14 BUILD_DEPENDS="gtk2-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" |
al@21020 | 17 SPLIT="$PACKAGE-dev $PACKAGE-i18n" |
al@20982 | 18 COOKOPTS="skip-log-errors" |
slaxemulator@7751 | 19 |
al@20519 | 20 compile_rules() { |
al@20519 | 21 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am |
al@20519 | 22 libtoolize --force |
al@20519 | 23 gtkdocize |
al@20519 | 24 aclocal |
al@20519 | 25 autoconf |
al@20519 | 26 automake --add-missing |
al@20519 | 27 CFLAGS="$CFLAGS -fno-strict-aliasing" \ |
slaxemulator@7751 | 28 ./configure \ |
al@20519 | 29 --disable-static \ |
slaxemulator@7751 | 30 --libexecdir=/usr/lib/gnome-vfs-2.0 \ |
al@20519 | 31 --disable-hal \ |
al@20519 | 32 --disable-howl \ |
al@20519 | 33 --disable-openssl \ |
al@20519 | 34 --enable-gnutls \ |
al@20519 | 35 && |
al@20573 | 36 fix libtool && |
al@20573 | 37 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool && |
al@20519 | 38 make && |
al@20519 | 39 make \ |
al@20519 | 40 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ |
al@21020 | 41 DESTDIR=$install \ |
al@20519 | 42 install || return 1 |
al@20519 | 43 |
al@20519 | 44 # mkdir -p $install/usr/share/gconf/schemas/ |
al@20519 | 45 # gconf-merge-schema \ |
al@20519 | 46 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \ |
al@20519 | 47 # --domain gnome-vfs-2.0 \ |
al@20519 | 48 # $install/etc/gconf/schemas/*.schemas |
al@20519 | 49 # rm -f $install/etc/gconf/schemas/*.schemas |
al@20519 | 50 |
al@20519 | 51 |
al@20519 | 52 |
al@20519 | 53 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile* |
al@20519 | 54 # ./configure \ |
al@20519 | 55 # --prefix=/usr \ |
al@20519 | 56 # --sysconfdir=/etc/gnome \ |
al@20519 | 57 # --libexecdir=/usr/lib/gnome-vfs-2.0 \ |
al@20519 | 58 # --disable-schemas-install \ |
al@20519 | 59 # $CONFIGURE_ARGS && |
al@21020 | 60 # make && |
al@21020 | 61 # make DESTDIR=$install install |
slaxemulator@7751 | 62 } |
slaxemulator@7751 | 63 |
al@20519 | 64 genpkg_rules() { |
pascal@20184 | 65 case $PACKAGE in |
al@20519 | 66 gnome-vfs) |
al@20519 | 67 copy @std |
al@20956 | 68 DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \ |
al@20460 | 69 orbit2 zlib" |
al@20519 | 70 ;; |
al@20519 | 71 *-dev) |
al@20519 | 72 copy @dev |
al@20956 | 73 DEPENDS="gnome-vfs gconf-dev glib-dev" |
al@20519 | 74 ;; |
al@20519 | 75 gnome-vfs-i18n) |
al@20519 | 76 copy locale/ |
al@20519 | 77 CAT="localization|language files" |
al@20519 | 78 DEPENDS="gnome-vfs" |
al@20519 | 79 ;; |
pascal@20184 | 80 esac |
slaxemulator@7751 | 81 } |