1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= a58c5fe2e54f6b3decb27c83f3154820ed1429580a9c5f4c67bec0c40a31701a
10 PKG_DESCR
:= complete and embeddable captive portal
11 PKG_SECTION
:= net
/wifi
12 PKG_DEPENDS
:= iptables
13 PKG_URL
:= http
://dev.wifidog.org
/
14 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=${PKG_NAME}/}
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 include ${ADK_TOPDIR}/mk
/package.mk
20 $(eval
$(call PKG_template
,WIFIDOG
,wifidog
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 TARGET_CFLAGS
+= -fcommon
23 CONFIGURE_ENV
+= ac_cv_func_memcmp_working
=yes \
24 ac_cv_lib_nsl_main
=no \
25 ac_cv_func_setvbuf_reversed
=no
28 ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr
/{bin
,lib
} ${IDIR_WIFIDOG}/etc
29 ${INSTALL_DATA} .
/files
/wifidog.conf
${IDIR_WIFIDOG}/etc
/
30 ${INSTALL_BIN} ${WRKBUILD}/scripts
/init.d
/wifidog \
31 ${IDIR_WIFIDOG}/usr
/bin
/wifidog-init
32 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/wifidog \
33 ${WRKINST}/usr
/bin
/wdctl
${IDIR_WIFIDOG}/usr
/bin
/
34 ${CP} ${WRKINST}/usr
/lib
/libhttpd.so
* ${IDIR_WIFIDOG}/usr
/lib
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk