1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 2
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,WIFIDOG,wifidog,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes \
  17. ac_cv_lib_nsl_main=no \
  18. ac_cv_func_setvbuf_reversed=no
  19. wifidog-install:
  20. ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr/{bin,lib} ${IDIR_WIFIDOG}/etc
  21. ${INSTALL_DATA} ./files/wifidog.conf ${IDIR_WIFIDOG}/etc/
  22. ${INSTALL_BIN} ${WRKBUILD}/scripts/init.d/wifidog \
  23. ${IDIR_WIFIDOG}/usr/bin/wifidog-init
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/wifidog \
  25. ${WRKINST}/usr/bin/wdctl ${IDIR_WIFIDOG}/usr/bin/
  26. ${CP} ${WRKINST}/usr/lib/libhttpd.so* ${IDIR_WIFIDOG}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk