wok-4.x view groff/receipt @ rev 5313

Zile: fix depends
author Dominique Corbex <domcox@slitaz.org>
date Wed Apr 21 18:15:38 2010 +0200 (2010-04-21)
parents
children 712198090123
line source
1 # SliTaz package receipt.
3 PACKAGE="groff"
4 VERSION="1.20.1"
5 CATEGORY="utilities"
6 SHORT_DESC="The GNU troff text-formatting system."
7 MAINTAINER="rocky@slitaz.org"
8 BUILD_DEPENDS="ghostscript"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/groff/groff.html"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 touch doc/gnu.eps
18 ./configure --prefix=/usr \
19 --mandir=/usr/man \
20 --without-x \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 rm -rf $fs/usr/share/info
34 rm -rf $fs/usr/share/doc
35 }