# SliTaz package receipt. PACKAGE="perl-texi2html" SOURCE="texi2html" VERSION="1.82" CATEGORY="utilities" SHORT_DESC="Converts texinfo documents to HTML." MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.nongnu.org/texi2html/" WGET_URL="http://download.savannah.gnu.org/releases/$SOURCE/$TARBALL" DEPENDS="perl" BUILD_DEPENDS="perl" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed '/>texi2html-/!d;/tar/!d;s|.*texi2html-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/texi2html $fs/usr/share sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html }