wok annotate libsoup/receipt @ rev 10581
openvas-scanner: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 09:09:01 2011 +0200 (2011-05-26) |
parents | 97cc68735e5f |
children | 8e8fdb06b30c |
rev | line source |
---|---|
jozee@2729 | 1 # SliTaz package receipt. |
jozee@2729 | 2 |
jozee@2729 | 3 PACKAGE="libsoup" |
slaxemulator@10165 | 4 VERSION="2.34.0" |
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@10165 | 12 WGET_URL="$GNOME_MIRROR/$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 \ |
pankso@2743 | 19 --with-html-dir=/usr/share/doc \ |
pankso@2743 | 20 --disable-gtk-doc \ |
pankso@2743 | 21 --without-gnome \ |
slaxemulator@10165 | 22 --disable-tls-check \ |
pankso@2743 | 23 $CONFIGURE_ARGS && |
pankso@2743 | 24 make && |
slaxemulator@10165 | 25 make install |
jozee@2729 | 26 } |
jozee@2729 | 27 |
jozee@2729 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2729 | 29 genpkg_rules() |
jozee@2729 | 30 { |
pankso@2743 | 31 mkdir -p $fs/usr/lib |
jozee@2729 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6955 | 33 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
jozee@2729 | 34 } |
pankso@2743 | 35 |