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.8_beta1
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://kokoro.ucsd.edu/nodogsplash/
17 PKG_MD5SUM:=f81c69ea46d61455b394f237bcdb3fe4
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
25 define Package/nodogsplash
29 TITLE:=Open public network gateway daemon
31 Nodogsplash offers a simple way to open a free hotspot providing restricted access to an\\\
32 internet connection. It is intended for use on wireless access points running OpenWRT\\\
33 (but may also work on other Linux-based devices).
34 URL:=http://kokoro.ucsd.edu/nodogsplash/
37 define Build/Configure
38 $(call Build/Configure/Default,\
45 mkdir -p $(PKG_INSTALL_DIR)/usr/{share{,/doc/$(PKG_NAME)-$(PKG_VERSION)},lib,include{,/nodogsplash},bin,sbin}/
46 $(MAKE) -C $(PKG_BUILD_DIR) \
47 DESTDIR="$(PKG_INSTALL_DIR)" \
48 mkinstalldirs="$(SHELL) $(PKG_BUILD_DIR)/config/mkinstalldirs" \
52 define Package/nodogsplash/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
55 $(INSTALL_DIR) $(1)/usr/lib/
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
59 $(eval $(call BuildPackage,nodogsplash))