wok-6.x annotate gnome-vfs/receipt @ rev 16285

libunique: add cflags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 06 18:57:04 2014 +0000 (2014-04-06)
parents e36a9f8bbcfc
children 9cb3fe5a9915
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"
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
pascal@13535 13 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
pascal@13535 14 zlib"
pascal@13535 15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
pascal@13535 16 libxml2-dev zlib-dev intltool pkg-config"
slaxemulator@7751 17
slaxemulator@7751 18 # Rules to configure and make the package.
slaxemulator@7751 19 compile_rules()
slaxemulator@7751 20 {
slaxemulator@7751 21 cd $src
slaxemulator@7751 22 ./configure \
slaxemulator@7751 23 --prefix=/usr \
slaxemulator@7751 24 --sysconfdir=/etc/gnome \
slaxemulator@7751 25 --libexecdir=/usr/lib/gnome-vfs-2.0 \
pascal@13535 26 --disable-schemas-install \
slaxemulator@7751 27 $CONFIGURE_ARGS &&
pascal@13535 28 make && make DESTDIR=$DESTDIR install
slaxemulator@7751 29 }
slaxemulator@7751 30
slaxemulator@7751 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7751 32 genpkg_rules()
slaxemulator@7751 33 {
slaxemulator@7751 34 mkdir -p $fs/usr/share $fs/usr/lib
pascal@13535 35 cp -a $install/usr/bin $fs/usr
pascal@13535 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13535 37 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
pascal@13535 38 cp -a $install/usr/share/dbus* $fs/usr/share
pascal@13535 39 cp -a $install/etc /$fs
pascal@13535 40
slaxemulator@7751 41 # Clean unwated files
slaxemulator@7751 42 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
pascal@13535 43 rm -rf ./include
slaxemulator@7751 44 }