python3: update to 3.11.10
[openadk.git] / package / wifidog / Makefile
bloba3e6e7430c345249f7dac25fe715f98b1a742bf7
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
6 PKG_NAME:= wifidog
7 PKG_VERSION:= 1.1.5
8 PKG_RELEASE:= 2
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
27 wifidog-install:
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