wok-6.x view libsoup/receipt @ rev 17661

Fix: reduce transmission* binary size
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 15 11:48:29 2015 +0000 (2015-02-15)
parents 6f8fd1c4de21
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.48.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Soup Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://live.gnome.org/LibSoup/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib"
15 BUILD_DEPENDS="glib-networking-dev libgio-dev \
16 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
17 libgnome-keyring-dev sqlite-dev dbus-dev"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --with-html-dir=/usr/share/doc \
29 --disable-gtk-doc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 # move to libsoup-gnome package
41 rm -f $fs/usr/lib/libsoup-gnome*
42 }