wok view drbl/receipt @ rev 25037

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