wok-next annotate gnome-vfs/receipt @ rev 20460
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 03 17:38:00 2018 +0200 (2018-03-03) |
parents | 384441c3ddea |
children | d43bf7aae921 |
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" |
slaxemulator@7751 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7751 | 10 WEB_SITE="http://www.gnome.org" |
pascal@13535 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@13535 | 12 |
al@19931 | 13 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \ |
al@19931 | 14 gnome-mime-data libxml2-dev zlib-dev intltool pkg-config" |
pascal@20184 | 15 SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n" |
slaxemulator@7751 | 16 |
slaxemulator@7751 | 17 # Rules to configure and make the package. |
slaxemulator@7751 | 18 compile_rules() |
slaxemulator@7751 | 19 { |
pascal@17607 | 20 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile* |
slaxemulator@7751 | 21 ./configure \ |
slaxemulator@7751 | 22 --prefix=/usr \ |
slaxemulator@7751 | 23 --sysconfdir=/etc/gnome \ |
slaxemulator@7751 | 24 --libexecdir=/usr/lib/gnome-vfs-2.0 \ |
pascal@13535 | 25 --disable-schemas-install \ |
slaxemulator@7751 | 26 $CONFIGURE_ARGS && |
pascal@13535 | 27 make && make DESTDIR=$DESTDIR install |
slaxemulator@7751 | 28 } |
slaxemulator@7751 | 29 |
slaxemulator@7751 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7751 | 31 genpkg_rules() |
slaxemulator@7751 | 32 { |
pascal@20184 | 33 case $PACKAGE in |
pascal@20184 | 34 gnome-vfs) |
pascal@20184 | 35 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \ |
al@20460 | 36 orbit2 zlib" |
pascal@20184 | 37 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@20184 | 38 cp -a $install/usr/bin $fs/usr |
pascal@20184 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20184 | 40 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib |
pascal@20184 | 41 cp -a $install/usr/share/dbus* $fs/usr/share |
pascal@20184 | 42 cp -a $install/etc /$fs |
pascal@13535 | 43 |
pascal@20184 | 44 # Clean unwated files |
pascal@20184 | 45 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; |
pascal@20184 | 46 rm -rf ./include |
pascal@20184 | 47 ;; |
pascal@20184 | 48 gnome-vfs-dev) |
pascal@20184 | 49 CAT="development|The GNOME Virtual File System libraries dev files" |
pascal@20184 | 50 DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config" |
pascal@20184 | 51 mkdir -p $fs/usr/lib |
pascal@20184 | 52 |
pascal@20184 | 53 cp -a $install/usr/include $fs/usr |
pascal@20184 | 54 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pascal@20184 | 55 cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib |
pascal@20184 | 56 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20184 | 57 |
pascal@20184 | 58 # Clean unwated files |
pascal@20184 | 59 cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; |
pascal@20184 | 60 ;; |
pascal@20184 | 61 gnome-vfs-i18n) |
pascal@20184 | 62 CAT="localization|Language files for the GNOME Virtual File System libraries" |
pascal@20184 | 63 DEPENDS="gnome-vfs" |
pascal@20184 | 64 mkdir -p $fs/usr/share/locale |
pascal@20184 | 65 cp -a $install/usr/share/locale/* $fs/usr/share/locale |
pascal@20184 | 66 ;; |
pascal@20184 | 67 esac |
slaxemulator@7751 | 68 } |