wok-6.x view perl-texi2html/receipt @ rev 9160
perl-texi2html: fix /usr/bin/texi2html
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 20:28:56 2011 +0100 (2011-03-07) |
parents | 9214b75769d2 |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-texi2html"
4 SOURCE="texi2html"
5 VERSION="1.82"
6 CATEGORY="utilities"
7 SHORT_DESC="Converts texinfo documents to HTML."
8 MAINTAINER="gokhlayeh@slitaz.org"
9 DEPENDS="perl"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.nongnu.org/texi2html/"
12 WGET_URL="http://download.savannah.gnu.org/releases/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure && make && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/share/texi2html $fs/usr/share
27 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html
28 }