wok view libgsf/receipt @ rev 24230
updated perl-json (4.02 -> 4.04)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:47:59 2022 +0100 (2022-01-02) |
parents | 91a008a5fdf1 |
children | 870e1ce31226 |
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://developer.gnome.org/gsf/"
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 }