wok annotate libsoup/receipt @ rev 13296
Add dukto
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 28 13:52:43 2012 +0200 (2012-08-28) |
parents | 8e8fdb06b30c |
children | 6eff489aa802 |
rev | line source |
---|---|
jozee@2729 | 1 # SliTaz package receipt. |
jozee@2729 | 2 |
jozee@2729 | 3 PACKAGE="libsoup" |
domcox@12886 | 4 VERSION="2.38.1" |
pankso@2743 | 5 CATEGORY="x-window" |
pankso@2743 | 6 SHORT_DESC="GNOME Soup Library." |
pankso@2743 | 7 MAINTAINER="pankso@slitaz.org" |
domcox@12886 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
domcox@12886 | 9 WEB_SITE="https://live.gnome.org/LibSoup/" |
domcox@12886 | 10 #http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.39/libsoup-2.39.1.tar.xz |
slaxemulator@10165 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
jozee@2729 | 12 |
slaxemulator@10803 | 13 DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ libgnutls libtasn1 libgcrypt" |
slaxemulator@10803 | 14 BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev libxml2-dev libgcrypt-dev libtasn1-dev gobject-introspection-dev gnutls-dev zlib-dev" |
slaxemulator@10803 | 15 |
jozee@2729 | 16 # Rules to configure and make the package. |
jozee@2729 | 17 compile_rules() |
jozee@2729 | 18 { |
jozee@2729 | 19 cd $src |
jozee@2729 | 20 ./configure \ |
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 && |
slaxemulator@10165 | 26 make 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 |