2 # Copyright (C) 2006 Michele Favara Pedarsi <mik.fp@commentaria.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
13 # PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 # PKG_SOURCE_URL:=http://
15 # PKG_MD5SUM:=90b2b2bef15e307b42a04702385be25d
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
20 include $(INCLUDE_DIR)/package.mk
22 define Package/webif-mesh
24 CATEGORY:=Administration
27 TITLE:=XWrt mesh installation page
34 define Package/webif-mesh/install
35 $(CP) -a ./files/* $(1)/
37 $(INSTALL_BIN) ./files/www/cgi-bin/webif/* $(1)/www/cgi-bin/webif/
38 $(INSTALL_BIN) ./files/etc/init.d/mesh $(1)/etc/init.d/mesh
39 $(CP) -a ./ipkg/webif-mesh.postinst $(1)/CONTROL/preinst
40 $(CP) -a ./ipkg/webif-mesh.postrm $(1)/CONTROL/postrm
43 $(eval $(call BuildPackage,webif-mesh))