summaryrefslogtreecommitdiffstats
path: root/base/groff/Pkgfile
blob: 09e22892549ce2c7b674a83233b6d26200cf0a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Programmes pour manipuler et formater du texte.
# URL: http://www.gnu.org/software/groff/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gettext

name=groff
version=1.20.1
release=1
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
cd $name-$version
PAGE=A4 ./configure --prefix=/usr \
	--without-x --enable-multibyte \
	--mandir=/usr/share/man \
	--infodir=/usr/share/info

mkdir $PKG/usr	
make datasubdir=/usr/share/groff
make prefix=$PKG/usr \
	datasubdir=$PKG/usr/share/groff \
	mandir=$PKG/usr/share/man \
	infodir=$PKG/usr/share/info \
	appresdir=$PKG/etc/X11/app-defaults install
ln -sf eqn $PKG/usr/bin/geqn
ln -sf tbl $PKG/usr/bin/gtbl
if [ -f $PKG/usr/share/info/dir ]; then
	rm $PKG/usr/share/info/dir
fi
}