summaryrefslogtreecommitdiff
path: root/package/traceroute/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-01-20 19:34:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-20 21:50:50 +0100
commitb7c3925eb15353931fd73f242b7b56fbb9c436ac (patch)
treedf53b788dc399090dce04ae56f72518a103376d4 /package/traceroute/Makefile
parentc449a57366c3f1a25aa133b17e26e6d613912631 (diff)
port traceroute (one of those with rather messy makefiles :/)
Diffstat (limited to 'package/traceroute/Makefile')
-rw-r--r--package/traceroute/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/traceroute/Makefile b/package/traceroute/Makefile
new file mode 100644
index 000000000..e0d8fa2e5
--- /dev/null
+++ b/package/traceroute/Makefile
@@ -0,0 +1,32 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= traceroute
+PKG_VERSION:= 2.0.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d400573042d41559fc3e5260275300d8
+PKG_DESCR:= Utility to trace the route of IP packets
+PKG_SECTION:= utils
+PKG_DEPENDS:=
+PKG_URL:= http://traceroute.sourceforge.net/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=traceroute/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TRACEROUTE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC="${TARGET_CC}" \
+ AR="${TARGET_CROSS}ar" \
+ RANLIB="${TARGET_CROSS}ranlib" \
+ LDFLAGS="-L${WRKSRC}/libsupp"
+INSTALL_STYLE:= auto
+
+# please install all files and directories to the package dir
+post-install:
+ $(INSTALL_DIR) $(IDIR_TRACEROUTE)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/local/bin/traceroute $(IDIR_TRACEROUTE)/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk