Makefile 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_SECTION:= wifi
  9. PKG_BUILDDEP+= libpcap ncurses
  10. PKG_DEPENDS:= libpcap libncurses
  11. PKG_MD5SUM:= a6d6edcf65d5bb2cb5de6472bcc16f19
  12. PKG_URL:= http://www.kismetwireless.net/
  13. PKG_SITES:= http://www.kismetwireless.net/code/
  14. PKG_DESCR_CLIENT:= Kismet client
  15. PKG_DESCR_SERVER:= Kismet server
  16. PKG_DESCR_DRONE:= Kismet drone
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,KISMET,kismet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,KISMET_CLIENT,kismet-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_CLIENT},${PKG_SECTION}))
  20. $(eval $(call PKG_template,KISMET_DRONE,kismet-drone,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_DRONE},${PKG_SECTION}))
  21. $(eval $(call PKG_template,KISMET_SERVER,kismet-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_SERVER},${PKG_SECTION}))
  22. CONFIGURE_ARGS+= --sysconfdir=/etc/kismet \
  23. --disable-linuxwext
  24. pre-build:
  25. (cd ${WRKBUILD} && ${MAKE} dep);
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_KISMET}/usr/bin/
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet ${IDIR_KISMET}/usr/bin/kismet
  29. ${INSTALL_DIR} ${IDIR_KISMET_CLIENT}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_client \
  31. ${IDIR_KISMET_CLIENT}/usr/bin/
  32. ${INSTALL_DIR} ${IDIR_KISMET_DRONE}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_drone \
  34. ${IDIR_KISMET_DRONE}/usr/bin/
  35. ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/usr/bin
  36. ${INSTALL_DIR} ${IDIR_KISMET_SERVER}/etc/kismet
  37. ${INSTALL_BIN} ${WRKINST}/usr/bin/kismet_server \
  38. ${IDIR_KISMET_SERVER}/usr/bin/
  39. ${INSTALL_DATA} ${WRKINST}/etc/kismet/kismet.conf \
  40. ${IDIR_KISMET_SERVER}/etc/kismet
  41. include ${TOPDIR}/mk/pkg-bottom.mk