wok-6.x annotate gv/receipt @ rev 25235

updated python-serial (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Jul 13 17:36:30 2022 +0100 (2022-07-13)
parents 2b9f96603415
children
rev   line source
pascal@14219 1 # SliTaz package receipt.
pascal@14219 2
pascal@14219 3 PACKAGE="gv"
pascal@14219 4 VERSION="3.7.4"
pascal@14219 5 CATEGORY="office"
pascal@14219 6 SHORT_DESC="X11 user interface for Ghostscript."
pascal@14219 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@14219 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14219 10 WEB_SITE="http://www.gnu.org/software/gv/"
pascal@14219 11 WGET_URL="http://ftp.gnu.org/gnu/gv/$TARBALL"
pascal@14219 12
pascal@14219 13 DEPENDS="ghostscript xorg-libXaw3d xorg-libXinerama"
pascal@14219 14 BUILD_DEPENDS="xorg-libXaw3d-dev xorg-libXinerama-dev"
pascal@14219 15
pascal@24415 16 # What is the latest version available today?
pascal@24415 17 current_version()
pascal@24415 18 {
pascal@24415 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 21 }
pascal@24415 22
pascal@14219 23 # Rules to configure and make the package.
pascal@14219 24 compile_rules()
pascal@14219 25 {
pascal@14219 26 cd $src
pascal@14219 27 ./configure \
pascal@14219 28 --prefix=/usr \
pascal@14219 29 $CONFIGURE_ARGS &&
pascal@14219 30 make $MAKEFLAGS &&
pascal@14221 31 make DESTDIR=$DESTDIR install
pascal@14219 32 }
pascal@14219 33
pascal@14219 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14219 35 genpkg_rules()
pascal@14219 36 {
pascal@14219 37 cp -a $install/usr $fs
pascal@14219 38 rm -rf $fs/usr/share/man
pascal@14219 39 }