wok-next view libsoup/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 96fd065ed4ea |
children | e70c0b9c5adf |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.54.1"
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 DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib"
16 BUILD_DEPENDS_arm="glib-networking-dev libgio-dev \
17 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
18 libgnome-keyring-dev sqlite-dev dbus-dev"
19 BUILD_DEPENDS="glib-dev libxml2-dev sqlite-dev intltool gtk-doc \
20 gobject-introspection-dev vala glib-networking-dev"
21 SPLIT="libsoup-gnome libsoup-dev"
23 # Handle cross compilation.
24 case "$ARCH" in
25 arm) BUILD_DEPENDS=$BUILD_DEPENDS_arm ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files libsoup-2*.so*
41 }