wok view libgsf/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents 4904e3d374a9
children a219ba1b4838
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 ./configure \
26 --with-html-dir=/usr/share/doc \
27 --without-bonobo \
28 --without-gnome-vfs \
29 --without-python \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 }