1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
10 PKG_DESCR
:= utility to trace the route of ip packets
11 PKG_SECTION
:= net
/debug
12 PKG_URL
:= http
://traceroute.sourceforge.net
/
13 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=traceroute
/}
15 PKG_LIBC_DEPENDS
:= glibc musl
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,TRACEROUTE
,traceroute
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 MAKE_FLAGS
+= CC
="${TARGET_CC}" \
25 AR
="${TARGET_CROSS}ar" \
26 RANLIB
="${TARGET_CROSS}ranlib" \
27 CFLAGS
="${TARGET_CFLAGS}" \
28 LDFLAGS
="${TARGET_LDFLAGS} -L${WRKSRC}/libsupp"
31 $(INSTALL_DIR
) $(IDIR_TRACEROUTE
)/usr
/bin
32 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/traceroute \
33 $(IDIR_TRACEROUTE
)/usr
/bin
/
35 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk