wok annotate wol/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 months ago)
parents 78727b04c002
children
rev   line source
pascal@11228 1 # SliTaz package receipt.
pascal@11228 2
pascal@11228 3 PACKAGE="wol"
pascal@11228 4 VERSION="0.7.1"
pascal@11228 5 CATEGORY="network"
pascal@11228 6 SHORT_DESC="wol implements Wake On LAN functionality in a small program."
pascal@11228 7 MAINTAINER="l.lemarinel@gmail.com"
pascal@15363 8 LICENSE="GPL2"
pascal@11228 9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
pascal@11228 10 WGET_URL="$SF_MIRROR/ahh/$TARBALL"
pascal@25454 11 WEB_SITE="https://wake-on-lan.sourceforge.net/"
pascal@15363 12
pascal@11228 13 BUILD_DEPENDS=""
pascal@11228 14 DEPENDS=""
pascal@11228 15
pascal@24340 16 # What is the latest version available today?
pascal@24340 17 current_version()
pascal@24340 18 {
pascal@24340 19 wget -O - https://sourceforge.net/projects/wake-on-lan/files/wol/ 2>/dev/null | \
pascal@25607 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
pascal@24340 21 sed '/scope="row/!d;s|.*/wol/||;s|/.*||;q'
pascal@24340 22 }
pascal@24340 23
pascal@11228 24 # Rules to configure and make the package.
pascal@11228 25 compile_rules()
pascal@11228 26 {
pascal@11228 27 cd $src
pascal@11228 28 ./configure $CONFIGURE_ARGS &&
pascal@11228 29 make && make install
pascal@11228 30 }
pascal@11228 31
pascal@11228 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11228 33 genpkg_rules()
pascal@11228 34 {
pascal@11228 35 mkdir -p $fs/usr
pascal@11228 36 cp -a $install/usr/bin $fs/usr
pascal@11228 37 }