wok-current annotate drbl/receipt @ rev 25278

updated reptyr (0.7.0 -> 0.9.0)
author Hans-G?nter Theisgen
date Mon Jul 18 14:55:21 2022 +0100 (2022-07-18)
parents bfabe25c21ff
children fdf4e6f54d4f
rev   line source
shann@14581 1 # SliTaz package receipt.
shann@14581 2
shann@14581 3 PACKAGE="drbl"
Hans-G?nter@20853 4 VERSION="2.25.10"
shann@14581 5 CATEGORY="misc"
al@14590 6 SHORT_DESC="Diskless Remote Boot in Linux"
shann@14581 7 MAINTAINER="shann@slitaz.org"
al@14590 8 LICENSE="GPL2"
al@14590 9 WEB_SITE="http://drbl.org/"
Hans-G?nter@20853 10
Hans-G?nter@20853 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@25021 12 #WGET_URL="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$TARBALL"
pascal@25021 13 #https://sourceforge.net/projects/drbl/files/drbl_stable/2.25.10/drbl-2.25.10.tar.xz/download
pascal@25021 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
shann@14581 15
al@14590 16 DEPENDS="bash bc binutils dialog disktype dmidecode e2fsprogs ethtool expect \
al@14590 17 file gnu-netcat lzop memtest mtools openssh parted partimage perl pigz procps \
al@14590 18 reiserfsprogs rsync strace tcpdump syslinux systemd udpcast"
al@14590 19 BUILD_DEPENDS=""
shann@14581 20
pascal@24439 21 # What is the latest version available today?
pascal@24439 22 current_version()
pascal@24439 23 {
pascal@24439 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24439 25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24439 26 }
pascal@24439 27
shann@14581 28 # Rules to configure and make the package.
shann@14581 29 compile_rules()
shann@14581 30 {
pascal@14583 31 make DESTDIR=$DESTDIR install
shann@14581 32 }
shann@14581 33
shann@14581 34 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@14581 35 genpkg_rules()
shann@14581 36 {
al@14590 37 cp -a $install/* $fs/
shann@14581 38 }