wok-current view perl-texi2html/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents 380ffe05937a
children ca4a422cce07
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 LICENSE="GPL2"
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 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/share/texi2html $fs/usr/share
29 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html
30 }