summaryrefslogtreecommitdiffstats
path: root/extra/texi2html/Pkgfile
blob: 8a0df5f0851d057fc5f833b1e594c7a432fbd843 (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: perl
# 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
}