wok view lfs-book/receipt @ rev 24702
updated knock (0.7.8 -> 0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 09:51:46 2022 +0100 (2022-03-14) |
parents | ff7bcf1ac1d8 |
children | d1a0bda8c077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lfs-book"
4 VERSION="8.4"
5 CATEGORY="development"
6 SHORT_DESC="Linux From Scratch book."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="CC-BY-NC-SA-2 MIT"
9 WEB_SITE="http://www.linuxfromscratch.org/lfs/"
11 TARBALL="LFS-BOOK-$VERSION.tar.bz2"
12 WGET_URL="http://www.linuxfromscratch.org/lfs/downloads/$VERSION/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://www.linuxfromscratch.org/lfs/downloads/stable/ 2>/dev/null | \
18 sed '/LFS-BOOK-[0-9]/!d;/tar/!d;s|.*LFS-BOOK-\(.*\).tar.*|\1|' | sort -Vr | sed q
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/doc/$PACKAGE
25 cp -a $src/* $fs/usr/share/doc/$PACKAGE
26 }