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