wok-current view drbl/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
parents | 1be16cc1cd50 |
children |
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="https://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 }