summaryrefslogtreecommitdiff
path: root/package/scdp
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/scdp
Initial import
Diffstat (limited to 'package/scdp')
-rw-r--r--package/scdp/Config.in12
-rw-r--r--package/scdp/Makefile27
-rw-r--r--package/scdp/ipkg/scdp.control5
3 files changed, 44 insertions, 0 deletions
diff --git a/package/scdp/Config.in b/package/scdp/Config.in
new file mode 100644
index 000000000..29bb50160
--- /dev/null
+++ b/package/scdp/Config.in
@@ -0,0 +1,12 @@
+config ADK_PACKAGE_SCDP
+ prompt "scdp.............................. An utility to send CDP (Cisco Discovery Protocol) packets"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBNET
+ help
+ This program sends CDP (Cisco Discovery Protocol) packets out on
+ selected interfaces and tells the connected switch (cisco only)
+ where the host is connected.
+
+ http://sourceforge.net/projects/scdp
+
diff --git a/package/scdp/Makefile b/package/scdp/Makefile
new file mode 100644
index 000000000..7fcd2fc94
--- /dev/null
+++ b/package/scdp/Makefile
@@ -0,0 +1,27 @@
+# $Id$
+#-
+# 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:= scdp
+PKG_VERSION:= 1.0b
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 7eafaf5a422e37d04715613993ed5d95
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=scdp/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SCDP,scdp,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_path_libnet_config=${STAGING_DIR}/usr/bin
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_SCDP}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/scdp ${IDIR_SCDP}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/scdp/ipkg/scdp.control b/package/scdp/ipkg/scdp.control
new file mode 100644
index 000000000..3cb61a061
--- /dev/null
+++ b/package/scdp/ipkg/scdp.control
@@ -0,0 +1,5 @@
+Package: scdp
+Priority: optional
+Section: net
+Depends: libnet
+Description: An utility to send CDP (Cisco Discovery Protocol) packets.