wok-next view libsoup/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | e70c0b9c5adf |
children | 0fcf48f89432 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsoup"
4 VERSION="2.56.0"
5 CATEGORY="network"
6 SHORT_DESC="HTTP client/server library for GNOME"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/libsoup"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev libxml2-dev sqlite3-dev intltool gtk-doc \
16 gobject-introspection-dev vala glib-networking-dev"
17 BUILD_DEPENDS_arm="glib-networking-dev glib-dev libxml2-dev libgcrypt-dev \
18 libtasn1-dev gnutls-dev zlib-dev libgnome-keyring-dev sqlite3-dev dbus-dev"
19 SPLIT="libsoup-gnome libsoup-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libsoup)
35 copy libsoup-2*.so*
36 DEPENDS="glib glibc-base libffi liblzma libsqlite3 libxml2 pcre \
37 util-linux-blkid util-linux-mount util-linux-uuid zlib"
38 ;;
39 libsoup-gnome)
40 copy libsoup-gnome*.so*
41 CAT="x-window|GNOME specific library"
42 DEPENDS="libsoup glib libffi liblzma libsqlite3 libxml2 pcre \
43 util-linux-blkid util-linux-mount util-linux-uuid zlib"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="libsoup libsoup-gnome glib-dev glibc-dev libffi-dev \
48 liblzma-dev libxml2-dev pcre-dev sqlite3-dev util-linux-blkid-dev \
49 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
50 ;;
51 esac
52 }