wok view perl-texi2html/receipt @ rev 9907
slitaz-icon: fix sed (must be befor cd to find file) and avois error with latlito/tazpkg --root=
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 15:18:51 2011 +0200 (2011-05-17) |
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 }