wok annotate wol/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | 2a21689b0af7 |
children | 78727b04c002 |
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@11228 | 11 WEB_SITE="http://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@24340 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | 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 } |