wok annotate man-pages/receipt @ rev 24400
updated cgames (2.2a -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 15:46:39 2022 +0100 (2022-02-08) |
parents | 946395bda48c |
children | 6e973ed206f2 |
rev | line source |
---|---|
al@19300 | 1 # SliTaz package receipt. |
al@19300 | 2 |
al@19300 | 3 PACKAGE="man-pages" |
Hans-G?nter@23163 | 4 VERSION="5.05" |
al@19300 | 5 CATEGORY="doc" |
Hans-G?nter@23163 | 6 SHORT_DESC="Linux manual pages." |
al@19300 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@19678 | 8 LICENSE="unknown" |
pascal@20421 | 9 WEB_SITE="https://www.kernel.org/doc/man-pages/" |
Hans-G?nter@21417 | 10 |
al@19300 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19300 | 12 WGET_URL="https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL" |
al@19300 | 13 |
pascal@24336 | 14 # What is the latest version available today? |
pascal@24336 | 15 current_version() |
pascal@24336 | 16 { |
pascal@24336 | 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 19 } |
pascal@24336 | 20 |
al@19300 | 21 # Rules to configure and make the package. |
al@19300 | 22 compile_rules() |
al@19300 | 23 { |
al@19300 | 24 make DESTDIR=$install install |
al@19300 | 25 } |
al@19300 | 26 |
al@19300 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19300 | 28 genpkg_rules() |
al@19300 | 29 { |
Hans-G?nter@23163 | 30 cp -a $install/* $fs |
al@19300 | 31 } |