summaryrefslogtreecommitdiffstats
path: root/base/texi2html/Pkgfile
blob: 38be127463989ccda4636a83b8b29ae7dc246fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Permet la conversion des fichiers textes en fichier html
# URL: http://www.mathematik.uni-kl.de/~obachman/Texi2html/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 
# Run on: 

name=texi2html
version=1.64
release=1
source=(http://www.mathematik.uni-kl.de/~obachman/Texi2html/Distrib/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr
	sed -i "s|mandir = /usr/man|mandir = \${prefix}/share/man|g" Makefile
	make
	make prefix=$PKG/usr install
	mv $PKG/usr/info $PKG/usr/share/info
	rm -r $PKG/usr/share/info/dir
	rm -r $PKG/usr/html
}