wok-current view libsoup/receipt @ rev 16805
Up hastapd (2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 06 10:56:03 2014 +0200 (2014-07-06) |
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 }