wok-next view perl-texi2html/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | bc6672455954 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-texi2html"
4 VERSION="1.82"
5 CATEGORY="utilities"
6 SHORT_DESC="Converts texinfo documents to HTML"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.nongnu.org/texi2html/"
11 TARBALL="texi2html-$VERSION.tar.bz2"
12 WGET_URL="http://download.savannah.gnu.org/releases/texi2html/$TARBALL"
14 BUILD_DEPENDS="perl"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS && make && make install || return 1
19 sed -i 's|bin/env perl|bin/perl|' $install/usr/bin/texi2html
20 }
22 genpkg_rules() {
23 copy @std
24 DEPENDS="perl"
25 }