ifeq ($(USELOCAL),1)
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
- $(TAR) c -C ../../../ . --exclude=.pc --exclude='boa-0*' --exclude=.svn --exclude=.git | tar x -C $(PKG_BUILD_DIR)/
+ $(TAR) c -C ../../../ . \
+ --exclude=.pc --exclude=.svn --exclude=.git \
+ --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
+ --exclude=dist | \
+ tar x -C $(PKG_BUILD_DIR)/
endef
endif
define Package/luci-web
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-http +luci-addons +luci-uci
+ DEPENDS+=+luci-http +luci-addons +luci-uci +luci-sgi-cgi
TITLE:=MVC Webframework
endef
define Package/luci-app-splash
$(call Package/luci/fftemplate)
- DEPENDS+=+iptables-mod-nat +iptables-mod-ipopt
+ DEPENDS+=+luasocket +iptables-mod-nat +iptables-mod-ipopt
TITLE:=Freifunk DHCP-Splash application
endef
define Package/luci-sgi-cgi
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-web
TITLE:=SGI for CGI
endef
define Package/luci-sgi-luci
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-web +luci-httpd
+ DEPENDS+=+luci-httpd
TITLE:=SGI for LuCI HTTPD
endef
define Package/luci-sgi-webuci
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-web
TITLE:=SGI for Webuci
endef
define Package/luci-i18n-english
$(call Package/luci/i18ntemplate)
- TITLE:=English (incomplete)
+ TITLE:=English
endef
define Package/luci-i18n-english/install
endef
+define Package/luci-i18n-french
+ $(call Package/luci/i18ntemplate)
+ TITLE:=French
+endef
+
+define Package/luci-i18n-french/install
+ $(call Package/luci/install/template,$(1),i18n/french)
+endef
+
+
+
### Compile ###
ifneq ($(CONFIG_PACKAGE_luci-core),)
ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
PKG_SELECTED_MODULES+=i18n/english
endif
+ifneq ($(CONFIG_PACKAGE_luci-i18n-french),)
+ PKG_SELECTED_MODULES+=i18n/french
+endif
MAKE_FLAGS += \
$(eval $(call BuildPackage,luci-i18n-german))
$(eval $(call BuildPackage,luci-i18n-english))
+$(eval $(call BuildPackage,luci-i18n-french))