wok annotate gnome-vfs/receipt @ rev 14464

Up: mk-livestatus (1.2.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 03:11:45 2013 +0200 (2013-04-27)
parents 02bbaa9d12ba
children 380ffe05937a
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"
slaxemulator@7751 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7751 9 WEB_SITE="http://www.gnome.org"
pascal@13535 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@13535 11
pascal@13535 12 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
pascal@13535 13 zlib"
pascal@13535 14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
pascal@13535 15 libxml2-dev zlib-dev intltool pkg-config"
slaxemulator@7751 16
slaxemulator@7751 17 # Rules to configure and make the package.
slaxemulator@7751 18 compile_rules()
slaxemulator@7751 19 {
slaxemulator@7751 20 cd $src
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 {
slaxemulator@7751 33 mkdir -p $fs/usr/share $fs/usr/lib
pascal@13535 34 cp -a $install/usr/bin $fs/usr
pascal@13535 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13535 36 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
pascal@13535 37 cp -a $install/usr/share/dbus* $fs/usr/share
pascal@13535 38 cp -a $install/etc /$fs
pascal@13535 39
slaxemulator@7751 40 # Clean unwated files
slaxemulator@7751 41 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
pascal@13535 42 rm -rf ./include
slaxemulator@7751 43 }