wok-next view libsoup/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents e7a485521d6a
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsoup"
4 VERSION="2.62.2"
5 CATEGORY="network"
6 SHORT_DESC="HTTP client/server library for GNOME"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/libsoup"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libsoup.html"
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 python3"
17 SPLIT="$PACKAGE-gnome $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libsoup)
31 copy libsoup-2*.so*
32 DEPENDS="glib libsqlite3 libxml2"
33 ;;
34 libsoup-gnome)
35 copy libsoup-gnome*.so*
36 CAT="x-window|GNOME specific library"
37 DEPENDS="glib libsoup"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libsoup libsoup-gnome glib-dev libxml2-dev"
42 ;;
43 esac
44 }