wok-current view groff/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (6 weeks ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="groff"
4 VERSION="1.22.4"
5 CATEGORY="utilities"
6 TAGS="formatting"
7 SHORT_DESC="The GNU troff text-formatting system."
8 MAINTAINER="rocky@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/groff/groff.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="texinfo"
16 # ghostscript require cups stuff, not sure need
18 HOST_ARCH="i486 x86_64"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 touch doc/gnu.eps
32 ./configure \
33 --without-x \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/groff $fs/usr/share
46 }