net-misc/wol - 0.7.1 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/wol-0.7.1

Package Information

Description:
Implements Wake On LAN (Magic Paket) functionality in a small program
Homepage:
http://ahh.sourceforge.net/wol/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.7.1 8 amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools toolchain-funcs

DESCRIPTION="Implements Wake On LAN (Magic Paket) functionality in a small program"
HOMEPAGE="http://ahh.sourceforge.net/wol/"
SRC_URI="https://downloads.sourceforge.net/ahh/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86"
IUSE="nls"

PATCHES=(
	"${FILESDIR}/${P}-musl.patch"
	"${FILESDIR}/${P}-Fix-config.h-test-consumption.patch"
	"${FILESDIR}/${P}-Fix-malloc-detection.patch"
	"${FILESDIR}/${P}-linux-headers.patch"
	"${FILESDIR}/${P}-intl.patch"
)

src_prepare() {
	default

	# https://bugs.gentoo.org/945522
	rm -r intl/ lib/getopt.h || die

	# bug #874420
	eautoreconf
}

src_configure() {
	export jm_cv_func_working_{re,m}alloc=yes

	local myeconfargs=(
		--disable-rpath
		$(use_enable nls)
	)

	econf ${myeconfargs[@]}
}

src_compile() {
	emake AR="$(tc-getAR)"
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/wol | euse -E <flag> -p net-misc/wol | euse -D <flag> -p net-misc/wol

Global/Standard Flags

nls

Inherited Eclasses

Manifest for 0.7.1

Type File Size Source URLs
DIST wol-0.7.1.tar.gz 445648 bytes https://downloads.sourceforge.net/ahh/wol-0.7.1.tar.gz