wok view libgsf/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgsf"
4 VERSION="1.14.46"
5 CATEGORY="libs"
6 SHORT_DESC="GNOME Structured File Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.gnome.org/GNOME/libgsf"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="bzlib gdk-pixbuf glib glibc-base libffi libgio libpng libxml2 \
15 pcre zlib"
16 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev libgio-dev libxml2-dev zlib-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files gsf *.so* gsf-vba* gsf-office*
36 rm -r $fs/usr/share/man
37 }