wok-current view goffice/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | 021c9e62f9d7 |
children | eec3edc6ef52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.10.46"
5 CATEGORY="libs"
6 SHORT_DESC="A library of document-centric objects and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/goffice/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype
15 gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi
16 libgio libgsf libpng librsvg libxcb libxml2 libxslt pango pcre
17 pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11
18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage
19 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi
20 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
21 BUILD_DEPENDS="cairo-dev gtk-doc gtk+3-dev libcroco-dev libgsf-dev
22 librsvg-dev libxslt-dev perl-io-compress"
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so* *.xml *.xsl README
42 }