Annotation of /trunk/core/etherwake/etherwake-1.09-r8.smage2
Parent Directory | Revision Log
Revision 386 -
(hide annotations)
(download)
Wed Dec 24 09:40:44 2008 UTC (15 years, 9 months ago) by niro
File size: 897 byte(s)
Wed Dec 24 09:40:44 2008 UTC (15 years, 9 months ago) by niro
File size: 897 byte(s)
-rev bump to 1.09-r8; rebuild
1 | niro | 386 | # $Header: /magellan-cvs/smage/etherwake/etherwake-1.09-r7.smage2,v 1.1 2008/04/20 21:58:18 niro Exp $ |
2 | |||
3 | PNAME="etherwake" | ||
4 | PVER="1.09" | ||
5 | PBUILD="r8" | ||
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 |