wok view perl-texi2html/receipt @ rev 11835

Add: perl-http-date
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:37:30 2012 +0100 (2012-02-27)
parents af5771e68fb9
children 2d12ebd38be4
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 $CONFIGURE_ARGS && 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 }