wok annotate libspectre/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents 8609b5c4b762
children c68e84a80970
rev   line source
al@16625 1 # SliTaz package receipt.
al@16625 2
al@16625 3 PACKAGE="libspectre"
al@16625 4 VERSION="0.2.7"
al@16625 5 CATEGORY="office"
al@16625 6 SHORT_DESC="libspectre is a small library for rendering Postscript documents"
al@16625 7 MAINTAINER="al.bobylev@gmail.com"
al@16625 8 LICENSE="GPL2"
al@16625 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/libspectre"
al@16625 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16625 11 WGET_URL="http://libspectre.freedesktop.org/releases/$TARBALL"
al@16625 12
al@16625 13 DEPENDS="ghostscript"
al@16625 14 BUILD_DEPENDS="ghostscript-dev"
al@16625 15
pascal@24447 16 # What is the latest version available today?
pascal@24447 17 current_version()
pascal@24447 18 {
pascal@24447 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 21 }
pascal@24447 22
al@16625 23 # Rules to configure and make the package.
al@16625 24 compile_rules()
al@16625 25 {
al@16625 26 ./configure $CONFIGURE_ARGS && make && make install
al@16625 27 }
al@16625 28
al@16625 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16625 30 genpkg_rules()
al@16625 31 {
al@16625 32 mkdir -p $fs/usr/lib
al@16625 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16625 34 }