wok annotate help2man/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents 71360a13cd94
children d79ed38ace18
rev   line source
pascal@13303 1 # SliTaz package receipt.
pascal@13303 2
pascal@13303 3 PACKAGE="help2man"
Hans-G?nter@24640 4 VERSION="1.49.1"
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"
Hans-G?nter@21034 9 WEB_SITE="https://www.gnu.org/software/$PACKAGE"
Hans-G?nter@21034 10
Hans-G?nter@21034 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@13303 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@13303 13
Hans-G?nter@24640 14 DEPENDS="perl"
pascal@13303 15 BUILD_DEPENDS="perl"
pascal@13303 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
pascal@13303 24 # Rules to configure and make the package.
pascal@13303 25 compile_rules()
pascal@13303 26 {
Hans-G?nter@21034 27 ./configure \
Hans-G?nter@21034 28 --prefix=/usr \
Hans-G?nter@21034 29 --infodir=/usr/share/info \
Hans-G?nter@21034 30 --mandir=/usr/share/man \
Hans-G?nter@21034 31 $CONFIGURE_ARGS &&
Hans-G?nter@22928 32 make &&
Hans-G?nter@24640 33 make install DESTDIR=$DESTDIR
pascal@13303 34 }
pascal@13303 35
pascal@13303 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13303 37 genpkg_rules()
pascal@13303 38 {
Hans-G?nter@24640 39 # 1.49.1 not created
Hans-G?nter@24640 40 # cp -a $install/usr/lib $fs/usr
Hans-G?nter@24640 41 cook_copy_folders bin
pascal@13303 42 }