SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wol"

# SliTaz package receipt.

PACKAGE="wol"
VERSION="0.7.1"
CATEGORY="network"
SHORT_DESC="wol implements Wake On LAN functionality in a small program."
MAINTAINER="l.lemarinel@gmail.com"
LICENSE="GPL2"
TARBALL="${PACKAGE}-${VERSION}.tar.gz"
WGET_URL="$SF_MIRROR/ahh/$TARBALL"
WEB_SITE="https://wake-on-lan.sourceforge.net/"

BUILD_DEPENDS=""
DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/wake-on-lan/files/wol/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/wol/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)