wok-current view perl-texi2html/receipt @ rev 25693
Up depends pkgs for cups, need to rebuild it for ssl 3.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 24 15:17:37 2024 +0000 (7 months ago) |
parents | 573d4c473481 |
children |
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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed '/>texi2html-/!d;/tar/!d;s|.*texi2html-||;s|.tar.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/texi2html $fs/usr/share
35 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html
36 }