wok-4.x annotate perl-texi2html/receipt @ rev 11612

nanochess: catch ?black arg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 15:34:54 2012 +0100 (2012-01-21)
parents af5771e68fb9
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"
gokhlayeh@8864 9 DEPENDS="perl"
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
gokhlayeh@8864 14 # Rules to configure and make the package.
gokhlayeh@8864 15 compile_rules()
gokhlayeh@8864 16 {
gokhlayeh@8864 17 cd $src
gokhlayeh@11573 18 ./configure $CONFIGURE_ARGS && make && make install
gokhlayeh@8864 19 }
gokhlayeh@8864 20
gokhlayeh@8864 21 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8864 22 genpkg_rules()
gokhlayeh@8864 23 {
gokhlayeh@8864 24 mkdir -p $fs/usr/share
gokhlayeh@8864 25 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@8864 26 cp -a $_pkg/usr/share/texi2html $fs/usr/share
pascal@9160 27 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html
gokhlayeh@8864 28 }
gokhlayeh@8864 29