wok-4.x annotate gnome-vfs/receipt @ rev 12347

gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 22 01:17:33 2012 +0000 (2012-10-22)
parents 02bbaa9d12ba
children
rev   line source
slaxemulator@7751 1 # SliTaz package receipt.
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"
al@12347 8 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 zlib"
slaxemulator@7751 9 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
slaxemulator@7751 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7751 11 WEB_SITE="http://www.gnome.org"
al@12347 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7751 13
slaxemulator@7751 14 # Rules to configure and make the package.
slaxemulator@7751 15 compile_rules()
slaxemulator@7751 16 {
slaxemulator@7751 17 cd $src
slaxemulator@7751 18 ./configure \
slaxemulator@7751 19 --prefix=/usr \
slaxemulator@7751 20 --sysconfdir=/etc/gnome \
slaxemulator@7751 21 --libexecdir=/usr/lib/gnome-vfs-2.0 \
al@12347 22 --disable-schemas-install \
slaxemulator@7751 23 $CONFIGURE_ARGS &&
slaxemulator@7751 24 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7751 25 }
slaxemulator@7751 26
slaxemulator@7751 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7751 28 genpkg_rules()
slaxemulator@7751 29 {
slaxemulator@7751 30 mkdir -p $fs/usr/share $fs/usr/lib
slaxemulator@7751 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7751 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7751 33 cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib
al@12347 34 cp -a $_pkg/usr/share/dbus* $fs/usr/share
al@12347 35 cp -a $_pkg/etc /$fs
al@12347 36
slaxemulator@7751 37 # Clean unwated files
slaxemulator@7751 38 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
al@12347 39 rm -rf ./include
slaxemulator@7751 40 }