summaryrefslogtreecommitdiffstats
path: root/groff/Pkgfile
blob: 2a837e2c88f11b947551efaa67f3dde19c3c8b78 (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
32
# 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:

name=groff
version=1.21
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
rm -r $PKG/usr/share/doc
}