wok view man-pages/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 71360a13cd94
children
line source
1 # SliTaz package receipt.
3 PACKAGE="man-pages"
4 VERSION="5.13"
5 CATEGORY="doc"
6 SHORT_DESC="Linux manual pages."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="unknown"
9 WEB_SITE="https://www.kernel.org/doc/man-pages/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # busybox install has no option T
25 sed -i 's| -T | |' Makefile
27 make install \
28 DESTDIR=$install \
29 prefix=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }