Makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= kismet
  5. PKG_VERSION:= 2010-01-R1
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= Kismet
  8. PKG_BUILDDEP+= libpcap ncurses
  9. PKG_DEPENDS:= libpcap libncurses
  10. PKG_MD5SUM:= a6d6edcf65d5bb2cb5de6472bcc16f19
  11. PKG_URL:= http://www.kismetwireless.net/
  12. PKG_SITES:= http://www.kismetwireless.net/code/
  13. PKG_DESCR_CLIENT:= Kismet client
  14. PKG_DESCR_SERVER:= Kismet server
  15. PKG_DESCR_DRONE:= Kismet drone
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,KISMET,kismet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,KISMET_CLIENT,kismet-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_CLIENT},${PKG_SECTION}))
  19. $(eval $(call PKG_template,KISMET_DRONE,kismet-drone,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_DRONE},${PKG_SECTION}))
  20. $(eval $(call PKG_template,KISMET_SERVER,kismet-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_SERVER},${PKG_SECTION}))
  21. CONFIGURE_ARGS+= --sysconfdir=/etc/kismet \
  22. --disable-linuxwext
  23. pre-build:
  24. (cd ${WRKBUILD} && ${MAKE} dep);
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_KISMET}/usr/bin/
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet ${IDIR_KISMET}/usr/bin/kismet
  28. ${INSTALL_DIR} ${IDIR_KISMET_CLIENT}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_client \
  30. ${IDIR_KISMET_CLIENT}/usr/bin/
  31. ${INSTALL_DIR} ${IDIR_KISMET_DRONE}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_drone \
  33. ${IDIR_KISMET_DRONE}/usr/bin/
  34. ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/usr/bin
  35. ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/etc/kismet
  36. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_server \
  37. ${IDIR_KISMET_SERVER}/usr/bin/
  38. ${INSTALL_DATA} ${WRKINST}/etc/kismet/kismet.conf \
  39. ${IDIR_KISMET_SERVER}/etc/kismet
  40. include ${TOPDIR}/mk/pkg-bottom.mk