2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=0.9_beta8
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://kokoro.ucsd.edu
/nodogsplash
/ \
17 http
://kokoro.ucsd.edu
/nodogsplash
/old
/
18 PKG_MD5SUM
:=74269856452b9ef6d8719a6b46bae56d
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/nodogsplash
30 TITLE
:=Open public network gateway daemon
32 Nodogsplash offers a simple way to open a free hotspot providing restricted access to an
\\\
33 internet connection. It is intended for use on wireless access points running OpenWRT
\\\
34 (but may also work on other Linux-based devices
).
35 URL
:=http
://kokoro.ucsd.edu
/nodogsplash
/
38 define Build
/Configure
39 $(call Build
/Configure
/Default
,\
46 mkdir
-p
$(PKG_INSTALL_DIR
)/usr
/{share
{,/doc
/$(PKG_NAME
)-$(PKG_VERSION
)},lib
,include{,/nodogsplash
},bin
,sbin
}/
47 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
48 DESTDIR
="$(PKG_INSTALL_DIR)" \
49 mkinstalldirs
="$(SHELL) $(PKG_BUILD_DIR)/config/mkinstalldirs" \
53 define Package
/nodogsplash
/install
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
56 $(INSTALL_DIR
) $(1)/usr
/lib
/
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
60 $(eval
$(call BuildPackage
,nodogsplash
))