1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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:= wifidog
  5. PKG_VERSION:= 1.1.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= abe5f7123179a0f08c493ce59fb3cb31
  8. PKG_DESCR:= a complete and embeddable captive portal
  9. PKG_SECTION:= wifi
  10. PKG_DEPENDS:= iptables
  11. PKG_URL:= http://dev.wifidog.org
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,WIFIDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes \
  16. ac_cv_lib_nsl_main=no \
  17. ac_cv_func_setvbuf_reversed=no
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr/{bin,lib} ${IDIR_WIFIDOG}/etc
  20. ${INSTALL_DATA} ./files/wifidog.conf ${IDIR_WIFIDOG}/etc/
  21. ${INSTALL_BIN} ${WRKBUILD}/scripts/init.d/wifidog \
  22. ${IDIR_WIFIDOG}/usr/bin/wifidog-init
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/wifidog \
  24. ${WRKINST}/usr/bin/wdctl ${IDIR_WIFIDOG}/usr/bin/
  25. ${CP} ${WRKINST}/usr/lib/libhttpd.so* ${IDIR_WIFIDOG}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk