summaryrefslogtreecommitdiff
path: root/package/wifidog/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/wifidog/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/wifidog/Makefile')
-rw-r--r--package/wifidog/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/package/wifidog/Makefile b/package/wifidog/Makefile
index 591f71403..e12bf91e5 100644
--- a/package/wifidog/Makefile
+++ b/package/wifidog/Makefile
@@ -9,26 +9,24 @@ PKG_NAME:= wifidog
PKG_VERSION:= 1.1.5
PKG_RELEASE:= 1
PKG_MD5SUM:= abe5f7123179a0f08c493ce59fb3cb31
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
+PKG_DESCR:= a complete and embeddable captive portal
+PKG_SECTION:= net
+PKG_DEPENDS:= iptables
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,WIFIDOG,wifidog,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,WIFIDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
-CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
- ac_cv_func_memcmp_working=yes \
+CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes \
ac_cv_func_setvbuf_reversed=no
BUILD_STYLE+= auto
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_WIFIDOG}/etc/init.d/
- ${INSTALL_BIN} ./files/${PKG_NAME}.init \
- ${IDIR_WIFIDOG}/etc/init.d/wifidog
+ ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr/{bin,lib} ${IDIR_WIFIDOG}/etc
${INSTALL_DATA} ./files/wifidog.conf ${IDIR_WIFIDOG}/etc/
- ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr/bin
- ${INSTALL_DIR} ${IDIR_WIFIDOG}/usr/lib
${INSTALL_BIN} ${WRKBUILD}/scripts/init.d/wifidog ${IDIR_WIFIDOG}/usr/bin/wifidog-init
${INSTALL_BIN} ${WRKINST}/usr/bin/wifidog \
${WRKINST}/usr/bin/wdctl ${IDIR_WIFIDOG}/usr/bin/