wok annotate libsoup/receipt @ rev 19940
liboping: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 30 17:53:19 2017 +0200 (2017-04-30) |
parents | 6f8fd1c4de21 |
children | 5d79829fa876 |
rev | line source |
---|---|
jozee@2729 | 1 # SliTaz package receipt. |
jozee@2729 | 2 |
jozee@2729 | 3 PACKAGE="libsoup" |
al@17280 | 4 VERSION="2.48.0" |
pankso@2743 | 5 CATEGORY="x-window" |
pankso@2743 | 6 SHORT_DESC="GNOME Soup Library." |
pankso@2743 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
domcox@12886 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
domcox@12886 | 10 WEB_SITE="https://live.gnome.org/LibSoup/" |
slaxemulator@10165 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16258 | 12 HOST_ARCH="i486 arm" |
jozee@2729 | 13 |
al@16716 | 14 DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib" |
al@16716 | 15 BUILD_DEPENDS="glib-networking-dev libgio-dev \ |
al@16716 | 16 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \ |
al@16716 | 17 libgnome-keyring-dev sqlite-dev dbus-dev" |
pankso@16258 | 18 |
pankso@16258 | 19 # Handle cross compilation. |
pankso@16258 | 20 case "$ARCH" in |
pankso@16258 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; |
pankso@16258 | 22 esac |
slaxemulator@10803 | 23 |
jozee@2729 | 24 # Rules to configure and make the package. |
jozee@2729 | 25 compile_rules() |
jozee@2729 | 26 { |
jozee@2729 | 27 ./configure \ |
pankso@2743 | 28 --with-html-dir=/usr/share/doc \ |
pankso@2743 | 29 --disable-gtk-doc \ |
pankso@2743 | 30 $CONFIGURE_ARGS && |
pankso@16258 | 31 make && make install |
jozee@2729 | 32 } |
jozee@2729 | 33 |
jozee@2729 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2729 | 35 genpkg_rules() |
jozee@2729 | 36 { |
pankso@2743 | 37 mkdir -p $fs/usr/lib |
pascal@14718 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16716 | 39 |
al@16716 | 40 # move to libsoup-gnome package |
al@16716 | 41 rm -f $fs/usr/lib/libsoup-gnome* |
jozee@2729 | 42 } |