wok view drbl/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents d79ed38ace18
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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="bash bc binutils dialog disktype dmidecode e2fsprogs ethtool expect \
15 file gnu-netcat lzop memtest mtools openssh parted partimage perl pigz procps \
16 reiserfsprogs rsync strace tcpdump syslinux systemd udpcast"
17 BUILD_DEPENDS=""
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/drbl/files/drbl_stable/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/drbl-||;s|-.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs/
37 }