Magellan Linux

Annotation of /smage/branches/alx07x-unstable/extras/fping/fping-3.10-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7494 - (hide annotations) (download)
Mon Sep 21 08:59:05 2015 UTC (8 years, 8 months ago) by niro
File size: 714 byte(s)
-release branches/alx07x-unstable
1 niro 7109 # $Id$
2    
3     PNAME="fping"
4     PVER="3.10"
5     PBUILD="r2"
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"
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     mchmod 4555 /usr/sbin/fping6
43     }