Contents of /smage/trunk/deprecated/fping/fping-4.0-r1.smage2
Parent Directory | Revision Log
Revision 12949 -
(show annotations)
(download)
Fri Nov 23 11:26:49 2018 UTC (5 years, 10 months ago) by niro
File size: 686 byte(s)
Fri Nov 23 11:26:49 2018 UTC (5 years, 10 months ago) by niro
File size: 686 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="fping" |
4 | PVER="4.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="A utility to ping multiple hosts at once." |
10 | HOMEPAGE="http://fping.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | ALX_PKG_KEEP="usr/sbin" |
18 | sminclude mtools mbuild alx-split |
19 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | http://fping.org/dist/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd http://fping.org/dist/ | highesttarball gz" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | mconfigure --enable-ipv4 --enable-ipv6 || die |
32 | mmake || die |
33 | } |
34 | |
35 | alx_generic_src_install() |
36 | { |
37 | cd ${SRCDIR} |
38 | mmake DESTDIR=${BINDIR} install || die |
39 | |
40 | # suid |
41 | mchmod 4555 /usr/sbin/fping |
42 | } |