wok view libgsf/receipt @ rev 17975

scilab: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 18 10:55:38 2015 +0200 (2015-04-18)
parents e2dc7c2d000d
children f83bd64e1765
line source
1 # SliTaz package receipt.
3 PACKAGE="libgsf"
4 VERSION="1.14.21"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Structured File Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freshmeat.net/projects/libgsf/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libgio bzlib libxml2 "
15 BUILD_DEPENDS="libgio-dev glib-dev libxml2-dev zlib-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/g_memmove/memmove/' gsf/gsf-output-iconv.c
26 ./configure \
27 --with-html-dir=/usr/share/doc \
28 --without-bonobo \
29 --without-gnome-vfs \
30 --without-python \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 }