wok view lfs-book/receipt @ rev 25803
Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 12 15:28:00 2024 +0000 (2 days ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lfs-book"
4 VERSION="11.1"
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="https://www.linuxfromscratch.org/lfs/"
11 TARBALL="LFS-BOOK-$VERSION.tar.xz"
12 WGET_URL="https://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 }