wok-next view libsoup/receipt @ rev 16883
Up gobject-introspection gobject-introspection-dev (1.39.0)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 15:29:58 2014 -0300 (2014-07-13) |
parents | e62fe73c97ae |
children | 96fd065ed4ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.38.1"
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 }