wok-6.x view lfs-book/receipt @ rev 24895

libgpod: libplist 2.x support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 11:37:28 2022 +0000 (2022-04-08)
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 }