wok-next annotate help2man/receipt @ rev 19703
Up bird (1.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 12:29:37 2017 +0200 (2017-04-26) |
parents | 2b9f96603415 |
children | 0e7893ac206d |
rev | line source |
---|---|
pascal@13303 | 1 # SliTaz package receipt. |
pascal@13303 | 2 |
pascal@13303 | 3 PACKAGE="help2man" |
al@19571 | 4 VERSION="1.47.4" |
pascal@13303 | 5 CATEGORY="development" |
pascal@13303 | 6 SHORT_DESC="Produces simple manual pages." |
pascal@13303 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19571 | 9 WEB_SITE="https://www.gnu.org/software/help2man/" |
al@19571 | 10 |
al@19571 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@13303 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@13303 | 13 |
al@19571 | 14 DEPENDS="perl-locale-gettext" |
al@19571 | 15 BUILD_DEPENDS="perl gettext texinfo perl-locale-gettext" |
pascal@13303 | 16 |
pascal@13303 | 17 # Rules to configure and make the package. |
pascal@13303 | 18 compile_rules() |
pascal@13303 | 19 { |
al@19571 | 20 ./configure \ |
al@19571 | 21 --enable-nls \ |
al@19571 | 22 $CONFIGURE_ARGS && |
al@19571 | 23 make && make DESTDIR=$install install |
al@19571 | 24 |
al@19571 | 25 # ./configure --prefix=/usr --infodir=/usr/share/info \ |
al@19571 | 26 # --mandir=/usr/share/man $CONFIGURE_ARGS && |
al@19571 | 27 # make && |
al@19571 | 28 # make DESTDIR=$DESTDIR install |
pascal@13303 | 29 } |
pascal@13303 | 30 |
pascal@13303 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13303 | 32 genpkg_rules() |
pascal@13303 | 33 { |
pascal@13303 | 34 mkdir -p $fs/usr |
pascal@13303 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13303 | 36 cp -a $install/usr/lib $fs/usr |
pascal@13303 | 37 } |
pascal@13303 | 38 |