wok-next view libsoup/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0222c6257a8d |
children | e7a485521d6a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsoup"
4 VERSION="2.60.3"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libsoup.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="glib-networking glib-dev libxml2-dev libgcrypt-dev \
16 libtasn1-dev gnutls-dev zlib-dev libgnome-keyring-dev sqlite3-dev dbus-dev"
17 BUILD_DEPENDS="glib-dev libxml2-dev sqlite3-dev intltool gtk-doc \
18 gobject-introspection-dev vala glib-networking"
19 SPLIT="libsoup-gnome libsoup-dev"
21 compile_rules() {
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libsoup)
33 copy libsoup-2*.so*
34 DEPENDS="glib libsqlite3 libxml2"
35 ;;
36 libsoup-gnome)
37 copy libsoup-gnome*.so*
38 CAT="x-window|GNOME specific library"
39 DEPENDS="libsoup glib"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libsoup libsoup-gnome glib-dev libxml2-dev"
44 ;;
45 esac
46 }