wok-current annotate groff/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
parents e4f3b22f34db
children a23978bfa665
rev   line source
rocky@5279 1 # SliTaz package receipt.
rocky@5279 2
rocky@5279 3 PACKAGE="groff"
Hans-G?nter@21001 4 VERSION="1.22.4"
rocky@5279 5 CATEGORY="utilities"
Hans-G?nter@21001 6 TAGS="formatting"
rocky@5279 7 SHORT_DESC="The GNU troff text-formatting system."
rocky@5279 8 MAINTAINER="rocky@slitaz.org"
pascal@15589 9 LICENSE="GPL3"
Hans-G?nter@21001 10 WEB_SITE="https://www.gnu.org/software/groff/groff.html"
Hans-G?nter@21001 11
rocky@5279 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@5279 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
rocky@5279 14
Hans-G?nter@21002 15 BUILD_DEPENDS="ghostscript texinfo"
pascal@15589 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
rocky@5279 24 # Rules to configure and make the package.
rocky@5279 25 compile_rules()
rocky@5279 26 {
Hans-G?nter@21001 27 touch doc/gnu.eps
Hans-G?nter@21001 28
Hans-G?nter@21001 29 ./configure \
Hans-G?nter@21001 30 --without-x \
Hans-G?nter@21001 31 $CONFIGURE_ARGS &&
Hans-G?nter@21001 32 make -j 1 &&
Hans-G?nter@21001 33 make install
rocky@5279 34 }
rocky@5279 35
rocky@5279 36 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@5279 37 genpkg_rules()
rocky@5279 38 {
Hans-G?nter@21001 39 mkdir -p $fs/usr/share
Hans-G?nter@21001 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21001 41 cp -a $install/usr/lib $fs/usr
Hans-G?nter@21001 42 cp -a $install/usr/share/groff $fs/usr/share
rocky@5279 43 }