wok annotate libsoup/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 96fd065ed4ea |
children |
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 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \ |
pascal@24072 | 27 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24072 | 28 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q |
pascal@24072 | 29 } |
pascal@24072 | 30 |
jozee@2729 | 31 # Rules to configure and make the package. |
jozee@2729 | 32 compile_rules() |
jozee@2729 | 33 { |
jozee@2729 | 34 ./configure \ |
pankso@2743 | 35 --with-html-dir=/usr/share/doc \ |
pankso@2743 | 36 --disable-gtk-doc \ |
pankso@2743 | 37 $CONFIGURE_ARGS && |
pankso@16258 | 38 make && make install |
jozee@2729 | 39 } |
jozee@2729 | 40 |
jozee@2729 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2729 | 42 genpkg_rules() |
jozee@2729 | 43 { |
pankso@2743 | 44 mkdir -p $fs/usr/lib |
pascal@14718 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16716 | 46 |
al@16716 | 47 # move to libsoup-gnome package |
al@16716 | 48 rm -f $fs/usr/lib/libsoup-gnome* |
jozee@2729 | 49 } |