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:= net
  10. PKG_DEPENDS:= iptables
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,WIFIDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes \
  16. ac_cv_func_setvbuf_reversed=no
  17. BUILD_STYLE+= auto
  18. INSTALL_STYLE:= auto
  19. post-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 ${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