wok-current view libsoup248/receipt @ rev 25693

Up depends pkgs for cups, need to rebuild it for ssl 3.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 24 15:17:37 2024 +0000 (3 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup248"
4 SOURCE="libsoup"
5 VERSION="2.48.0"
6 CATEGORY="x-window"
7 SHORT_DESC="GNOME Soup Library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://live.gnome.org/LibSoup/"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib"
16 BUILD_DEPENDS="glib-networking libgio-dev \
17 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
18 libgnome-keyring-dev sqlite-dev dbus-dev"
20 # Handle cross compilation.
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
23 esac
25 current_version()
26 {
27 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
28 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
29 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure \
36 --libdir=/usr/lib/libsoup248 \
37 --datarootdir=/usr/lib/libsoup248/share \
38 --includedir=/usr/lib/libsoup248/include \
39 --oldincludedir=/usr/lib/libsoup248/include \
40 --with-html-dir=/usr/share/doc \
41 --disable-gtk-doc \
42 $CONFIGURE_ARGS &&
43 make && make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib/libsoup248
50 cp -a $install/usr/lib/libsoup248/*.so* $fs/usr/lib/libsoup248
52 # move to libsoup-gnome package
53 rm -f $fs/usr/lib/libsoup248/libsoup-gnome*
54 }