summaryrefslogtreecommitdiff
path: root/package/dsniff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/Makefile')
-rw-r--r--package/dsniff/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/dsniff/Makefile b/package/dsniff/Makefile
new file mode 100644
index 000000000..0b28d8e15
--- /dev/null
+++ b/package/dsniff/Makefile
@@ -0,0 +1,37 @@
+# $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:= dsniff
+PKG_VERSION:= 2.4b1
+PKG_RELEASE:= 2
+PKG_MD5SUM:= 2f761fa3475682a7512b0b43568ee7d6
+MASTER_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
+WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --without-db \
+ --without-x \
+ --with-gdbm="${STAGING_DIR}/usr" \
+ --with-libnids="${STAGING_DIR}/usr" \
+ --with-libpcap="${STAGING_DIR}/usr" \
+ --with-libnet="${STAGING_DIR}/usr" \
+ --with-openssl="${STAGING_DIR}/usr"
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+FAKE_FLAGS+= install_prefix="${WRKINST}"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib
+ ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
+ ${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk