wok view libsoup/receipt @ rev 16288

Up: youtube-dl (2014.04.04.7)
author Alexander Medvedev <devl547@gmail.com>
date Sun Apr 06 20:03:39 2014 +0000 (2014-04-06)
parents a00bf44ed23d
children 6f8fd1c4de21
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.38.1"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Soup Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://live.gnome.org/LibSoup/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ \
15 libgnutls libtasn1 libgcrypt"
16 BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev \
17 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --with-html-dir=/usr/share/doc \
29 --disable-gtk-doc \
30 --without-gnome \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }