wok annotate libsoup/receipt @ rev 8991

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