wok view help2man/receipt @ rev 25735
Remove iptraf: replaced by iptraf-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 09:39:49 2024 +0000 (2 months ago) |
parents | 7500c38695e9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="help2man"
4 VERSION="1.49.1"
5 CATEGORY="development"
6 SHORT_DESC="Produces simple manual pages."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # 1.49.1 not created
40 # cp -a $install/usr/lib $fs/usr
41 cook_copy_folders bin
42 }