wok annotate man-pages/receipt @ rev 25652
Up ntfs-3g (2022.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 06 11:59:08 2024 +0000 (9 months ago) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
al@19300 | 1 # SliTaz package receipt. |
al@19300 | 2 |
al@19300 | 3 PACKAGE="man-pages" |
Hans-G?nter@24879 | 4 VERSION="5.13" |
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 { |
Hans-G?nter@24879 | 24 # busybox install has no option T |
Hans-G?nter@24879 | 25 sed -i 's| -T | |' Makefile |
Hans-G?nter@24879 | 26 |
Hans-G?nter@24879 | 27 make install \ |
Hans-G?nter@24879 | 28 DESTDIR=$install \ |
Hans-G?nter@24879 | 29 prefix=/usr |
al@19300 | 30 } |
al@19300 | 31 |
al@19300 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19300 | 33 genpkg_rules() |
al@19300 | 34 { |
Hans-G?nter@23163 | 35 cp -a $install/* $fs |
al@19300 | 36 } |