wok-next annotate libsoup/receipt @ rev 20195

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