wok-4.x view libsoup/receipt @ rev 8150

emacs-pkg-lua-mode: build without emacs
author Dominique Corbex <domcox@slitaz.org>
date Tue Jan 25 21:03:34 2011 +0100 (2011-01-25)
parents 7819910c7cc3
children b747299e1955
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.32.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Soup Library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base libxml2 zlib glib libgio gtk+ libgnutls libtasn1 libgcrypt"
9 BUILD_DEPENDS="gtk+-dev libgio libgio-dev libxml2-dev libgcrypt-dev libtasn1-dev gobject-introspection-dev gnutls-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://live.gnome.org/LibSoup/"
12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 --disable-gtk-doc \
23 --without-gnome \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
35 }