wok-current view libspectre/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libspectre"
4 VERSION="0.2.9"
5 CATEGORY="office"
6 SHORT_DESC="A small library for rendering Postscript documents."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libspectre"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://libspectre.freedesktop.org/releases/$TARBALL"
14 DEPENDS="ghostscript"
15 BUILD_DEPENDS="ghostscript-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$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 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }