wok annotate perl-texi2html/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents 573d4c473481
children
rev   line source
gokhlayeh@8864 1 # SliTaz package receipt.
gokhlayeh@8864 2
gokhlayeh@8864 3 PACKAGE="perl-texi2html"
gokhlayeh@8864 4 SOURCE="texi2html"
gokhlayeh@8864 5 VERSION="1.82"
gokhlayeh@8864 6 CATEGORY="utilities"
gokhlayeh@8864 7 SHORT_DESC="Converts texinfo documents to HTML."
gokhlayeh@8864 8 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
gokhlayeh@8864 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
gokhlayeh@8864 11 WEB_SITE="http://www.nongnu.org/texi2html/"
gokhlayeh@8864 12 WGET_URL="http://download.savannah.gnu.org/releases/$SOURCE/$TARBALL"
gokhlayeh@8864 13
pascal@17741 14 DEPENDS="perl"
pascal@17741 15 BUILD_DEPENDS="perl"
pascal@17741 16
pascal@24103 17 current_version()
pascal@24103 18 {
pascal@24103 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24103 20 sed '/>texi2html-/!d;/tar/!d;s|.*texi2html-||;s|.tar.*||' | sort -Vr | sed q
pascal@24103 21 }
pascal@24103 22
gokhlayeh@8864 23 # Rules to configure and make the package.
gokhlayeh@8864 24 compile_rules()
gokhlayeh@8864 25 {
gokhlayeh@11573 26 ./configure $CONFIGURE_ARGS && make && make install
gokhlayeh@8864 27 }
gokhlayeh@8864 28
gokhlayeh@8864 29 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8864 30 genpkg_rules()
gokhlayeh@8864 31 {
gokhlayeh@8864 32 mkdir -p $fs/usr/share
pascal@14702 33 cp -a $install/usr/bin $fs/usr
pascal@14702 34 cp -a $install/usr/share/texi2html $fs/usr/share
pascal@9160 35 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html
gokhlayeh@8864 36 }