Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dsniff
  7. PKG_VERSION:= 2.4b1
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 2f761fa3475682a7512b0b43568ee7d6
  10. MASTER_SITES:= http://www.monkey.org/~dugsong/dsniff/beta/
  11. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS+= --without-db \
  16. --without-x \
  17. --with-gdbm="${STAGING_DIR}/usr" \
  18. --with-libnids="${STAGING_DIR}/usr" \
  19. --with-libpcap="${STAGING_DIR}/usr" \
  20. --with-libnet="${STAGING_DIR}/usr" \
  21. --with-openssl="${STAGING_DIR}/usr"
  22. BUILD_STYLE= auto
  23. INSTALL_STYLE= auto
  24. FAKE_FLAGS+= install_prefix="${WRKINST}"
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/lib
  27. ${INSTALL_DIR} ${IDIR_DSNIFF}/usr/sbin
  28. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
  29. ${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
  30. include ${TOPDIR}/mk/pkg-bottom.mk