From: Schantl Stefan Date: Tue, 23 Feb 2010 22:13:17 +0000 (+0100) Subject: etherwake: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b7a0ec77a21d4ea54676ba243d5da73f1f632f5;p=ipfire-3.x.git etherwake: New package. I had to create a patch for installing ethwake, because /usr/bin/install doesn´t exist in naoki. --- diff --git a/pkgs/core/etherwake/etherwake.nm b/pkgs/core/etherwake/etherwake.nm new file mode 100644 index 000000000..961e40579 --- /dev/null +++ b/pkgs/core/etherwake/etherwake.nm @@ -0,0 +1,54 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = etherwake +PKG_VER = 1.09 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Networking/Tools +PKG_URL = +PKG_LICENSE = +PKG_SUMMARY = Can wake up sleeping PCs by WOL. + +PKG_BUILD_DEPS+= + +define PKG_DESCRIPTION + A little tool to send magic Wake-on-LAN packets You can wake up WOL \ + compliant Computers which have been powered down to sleep mode or start \ + WOL compliant Computers with a BIOS feature. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +define STAGE_BUILD + cd $(DIR_APP) && make $(PARALLELISMFLAGS) +endef + +define STAGE_INSTALL + -mkdir -pv $(BUILDROOT)/usr/sbin + cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) +endef diff --git a/pkgs/core/etherwake/patches/etherwake-1.09-install.patch b/pkgs/core/etherwake/patches/etherwake-1.09-install.patch new file mode 100644 index 000000000..77588eb51 --- /dev/null +++ b/pkgs/core/etherwake/patches/etherwake-1.09-install.patch @@ -0,0 +1,10 @@ +diff -Nur old/Makefile new/Makefile +--- old/Makefile 2006-06-08 09:14:23.000000000 +0200 ++++ new/Makefile 2010-02-23 23:07:09.000000000 +0100 +@@ -1,5 +1,5 @@ + CFLAGS = -Wall +-INSTALL = /usr/bin/install ++INSTALL = install + CC = gcc + + all: