Contents of /trunk/core/etherwake/etherwake-1.09-r9.smage2
Parent Directory | Revision Log
Revision 3149 -
(show annotations)
(download)
Tue Oct 13 22:38:46 2009 UTC (14 years, 11 months ago) by niro
File size: 801 byte(s)
Tue Oct 13 22:38:46 2009 UTC (14 years, 11 months ago) by niro
File size: 801 byte(s)
auto added: ver bump to 1.09-r9
1 | # $Id$ |
2 | |
3 | PNAME="etherwake" |
4 | PVER="1.09" |
5 | PBUILD="r9" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Sends Wake-On-Lan (WOL) 'Magic-Packets' to remote computer." |
11 | HOMEPAGE="http://www.scyld.com/wakeonlan.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="ether-wake.c-${PVER}" |
16 | MANFILE="etherwake.8-${PVER}" |
17 | |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mtools |
21 | |
22 | SRC_URI=( |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${MANFILE} |
25 | ) |
26 | |
27 | src_prepare() |
28 | { |
29 | install -d ${SRCDIR} || die |
30 | |
31 | local i |
32 | for i in ${SRCFILE} ${MANFILE} |
33 | do |
34 | cp ${SOURCEDIR}/${PNAME}/${i} ${SRCDIR}/${i/-${PVER}/} || die |
35 | done |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | gcc ${CFLAGS} -o etherwake ether-wake.c || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | minstalldir /usr/bin || die |
48 | minstallexec etherwake || die |
49 | minstallman etherwake.8 || die |
50 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |