wok-current annotate lfs-book/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (22 months ago) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
slaxemulator@9364 | 1 # SliTaz package receipt. |
slaxemulator@9364 | 2 |
slaxemulator@9364 | 3 PACKAGE="lfs-book" |
Hans-G?nter@24715 | 4 VERSION="11.1" |
slaxemulator@9364 | 5 CATEGORY="development" |
Hans-G?nter@21106 | 6 SHORT_DESC="Linux From Scratch book." |
slaxemulator@9364 | 7 MAINTAINER="slaxemulator@gmail.com" |
al@14589 | 8 LICENSE="CC-BY-NC-SA-2 MIT" |
Hans-G?nter@24715 | 9 WEB_SITE="https://www.linuxfromscratch.org/lfs/" |
Hans-G?nter@21106 | 10 |
Hans-G?nter@24715 | 11 TARBALL="LFS-BOOK-$VERSION.tar.xz" |
Hans-G?nter@24715 | 12 WGET_URL="https://www.linuxfromscratch.org/lfs/downloads/$VERSION/$TARBALL" |
slaxemulator@9364 | 13 |
pascal@24447 | 14 # What is the latest version available today? |
pascal@24447 | 15 current_version() |
pascal@24447 | 16 { |
pascal@24447 | 17 wget -O - https://www.linuxfromscratch.org/lfs/downloads/stable/ 2>/dev/null | \ |
pascal@24447 | 18 sed '/LFS-BOOK-[0-9]/!d;/tar/!d;s|.*LFS-BOOK-\(.*\).tar.*|\1|' | sort -Vr | sed q |
pascal@24447 | 19 } |
pascal@24447 | 20 |
slaxemulator@9364 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9364 | 22 genpkg_rules() |
slaxemulator@9364 | 23 { |
slaxemulator@9364 | 24 mkdir -p $fs/usr/share/doc/$PACKAGE |
Hans-G?nter@24715 | 25 cp -a $src/* $fs/usr/share/doc/$PACKAGE |
slaxemulator@9364 | 26 } |