summaryrefslogtreecommitdiff
path: root/package/netcat/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-02-18 00:51:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-21 13:46:53 +0100
commit844d072abc82c8f027df2229b6843838642b082e (patch)
tree80bb17b8ae4778bf33cee6953b7667a677765ecc /package/netcat/Makefile
parent5085db8ce48400d364208c34f0d3bf293e5fdf5f (diff)
port GNU netcat
Diffstat (limited to 'package/netcat/Makefile')
-rw-r--r--package/netcat/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/netcat/Makefile b/package/netcat/Makefile
new file mode 100644
index 000000000..e8d344ad9
--- /dev/null
+++ b/package/netcat/Makefile
@@ -0,0 +1,25 @@
+# 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:= netcat
+PKG_VERSION:= 0.7.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 088def25efe04dcdd1f8369d8926ab34
+PKG_DESCR:= the GNU network swiss army knife
+PKG_SECTION:= net/misc
+PKG_URL:= http://netcat.sourceforge.net/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=netcat/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,NETCAT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_NETCAT)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/netcat \
+ $(IDIR_NETCAT)/usr/bin
+
+# please remove ALL above comments, before commiting
+include ${TOPDIR}/mk/pkg-bottom.mk