wok annotate perl-texi2html/receipt @ rev 17030
linux64: new module path (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 16 23:25:23 2014 +0200 (2014-08-16) |
parents | 2d12ebd38be4 |
children | 573d4c473481 |
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 DEPENDS="perl" |
gokhlayeh@8864 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
gokhlayeh@8864 | 12 WEB_SITE="http://www.nongnu.org/texi2html/" |
gokhlayeh@8864 | 13 WGET_URL="http://download.savannah.gnu.org/releases/$SOURCE/$TARBALL" |
gokhlayeh@8864 | 14 |
gokhlayeh@8864 | 15 # Rules to configure and make the package. |
gokhlayeh@8864 | 16 compile_rules() |
gokhlayeh@8864 | 17 { |
gokhlayeh@8864 | 18 cd $src |
gokhlayeh@11573 | 19 ./configure $CONFIGURE_ARGS && make && make install |
gokhlayeh@8864 | 20 } |
gokhlayeh@8864 | 21 |
gokhlayeh@8864 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8864 | 23 genpkg_rules() |
gokhlayeh@8864 | 24 { |
gokhlayeh@8864 | 25 mkdir -p $fs/usr/share |
pascal@14702 | 26 cp -a $install/usr/bin $fs/usr |
pascal@14702 | 27 cp -a $install/usr/share/texi2html $fs/usr/share |
pascal@9160 | 28 sed -i 's|bin/env perl|bin/perl|' $fs/usr/bin/texi2html |
gokhlayeh@8864 | 29 } |
gokhlayeh@8864 | 30 |