wok-current annotate perl-texi2html/receipt @ rev 11520
Up libsigc++-dev (2.2.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 12:53:04 2011 +0100 (2011-12-24) |
parents | 9214b75769d2 |
children | b7319995b37e |
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@8864 | 18 ./configure && 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 |