wok view wol/receipt @ rev 25669
Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 16:11:20 2024 +0000 (9 months ago) |
parents | 78727b04c002 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wol"
4 VERSION="0.7.1"
5 CATEGORY="network"
6 SHORT_DESC="wol implements Wake On LAN functionality in a small program."
7 MAINTAINER="l.lemarinel@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
10 WGET_URL="$SF_MIRROR/ahh/$TARBALL"
11 WEB_SITE="https://wake-on-lan.sourceforge.net/"
13 BUILD_DEPENDS=""
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/wake-on-lan/files/wol/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/wol/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }