wok-next annotate libsoup/receipt @ rev 20842

p11-kit: update (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 20 17:49:39 2018 +0300 (2018-06-20)
parents 0222c6257a8d
children e7a485521d6a
rev   line source
al@19780 1 # SliTaz package receipt v2.
jozee@2729 2
jozee@2729 3 PACKAGE="libsoup"
al@20615 4 VERSION="2.60.3"
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"
al@20615 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libsoup.html"
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@20598 15 BUILD_DEPENDS_arm="glib-networking glib-dev libxml2-dev libgcrypt-dev \
al@20595 16 libtasn1-dev gnutls-dev zlib-dev libgnome-keyring-dev sqlite3-dev dbus-dev"
al@19780 17 BUILD_DEPENDS="glib-dev libxml2-dev sqlite3-dev intltool gtk-doc \
al@20598 18 gobject-introspection-dev vala glib-networking"
al@19693 19 SPLIT="libsoup-gnome libsoup-dev"
pankso@16258 20
al@20595 21 compile_rules() {
jozee@2729 22 ./configure \
al@19693 23 --disable-static \
pankso@2743 24 $CONFIGURE_ARGS &&
al@20595 25 fix libtool &&
al@20595 26 make &&
al@20595 27 make install
jozee@2729 28 }
jozee@2729 29
al@20595 30 genpkg_rules() {
al@19780 31 case $PACKAGE in
al@19780 32 libsoup)
al@19780 33 copy libsoup-2*.so*
al@20621 34 DEPENDS="glib libsqlite3 libxml2"
al@19780 35 ;;
al@19780 36 libsoup-gnome)
al@19780 37 copy libsoup-gnome*.so*
al@19780 38 CAT="x-window|GNOME specific library"
al@20621 39 DEPENDS="libsoup glib"
al@19780 40 ;;
al@19780 41 *-dev)
al@19780 42 copy @dev
al@20621 43 DEPENDS="libsoup libsoup-gnome glib-dev libxml2-dev"
al@19780 44 ;;
al@19780 45 esac
jozee@2729 46 }