wok-current annotate libgsf/receipt @ rev 16341

Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 14:59:28 2014 +0200 (2014-04-12)
parents 4904e3d374a9
children a219ba1b4838
rev   line source
pankso@563 1 # SliTaz package receipt.
pankso@563 2
pankso@563 3 PACKAGE="libgsf"
slaxemulator@10106 4 VERSION="1.14.21"
pankso@563 5 CATEGORY="x-window"
pankso@563 6 SHORT_DESC="GNOME Structured File Library."
pankso@563 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pankso@563 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@563 10 WEB_SITE="http://freshmeat.net/projects/libgsf/"
slaxemulator@10106 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16221 12 HOST_ARCH="i486 arm"
pankso@563 13
pankso@16221 14 DEPENDS="libgio bzlib libxml2 "
pankso@16221 15 BUILD_DEPENDS="libgio-dev glib-dev libxml2-dev zlib-dev"
pankso@16221 16
pankso@16221 17 # Handle cross compilation
pankso@16221 18 case "$ARCH" in
pankso@16221 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
pankso@16221 20 esac
pascal@14714 21
pankso@563 22 # Rules to configure and make the package.
pankso@563 23 compile_rules()
pankso@563 24 {
pankso@563 25 ./configure \
pankso@563 26 --with-html-dir=/usr/share/doc \
pankso@2537 27 --without-bonobo \
pankso@2537 28 --without-gnome-vfs \
pankso@2537 29 --without-python \
pascal@1496 30 $CONFIGURE_ARGS &&
pascal@1496 31 make &&
slaxemulator@10106 32 make install
pankso@563 33 }
pankso@563 34
pankso@563 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@563 36 genpkg_rules()
pankso@563 37 {
pankso@563 38 mkdir -p $fs/usr/lib
pascal@14714 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14714 40 cp -a $install/usr/bin $fs/usr
pankso@563 41 }
pankso@563 42