wok-current view libgsf/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (5 weeks ago)
parents 3ad63c8fc2f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgsf"
4 VERSION="1.14.48"
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 HOST_ARCH="i486 x86_64"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files gsf *.so* gsf-vba* gsf-office*
38 rm -r $fs/usr/share/man
39 }