Magellan Linux

Contents of /smage/branches/alx07x-stable/extras/fping/fping-4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11499 - (show annotations) (download)
Tue Dec 19 15:58:51 2017 UTC (6 years, 4 months ago) by niro
File size: 686 byte(s)
-release branches/alx07x-stable
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 }