2013-10-02 12:18:42 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-location
|
|
|
|
PKG_VERSION:=1
|
2014-01-04 08:19:13 +00:00
|
|
|
PKG_RELEASE:=1
|
2013-10-02 12:18:42 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/gluon-location
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
2014-01-19 22:14:52 +00:00
|
|
|
TITLE:=Add /etc/config/gluon-location to uci
|
2013-10-02 12:18:42 +00:00
|
|
|
DEPENDS:=+gluon-core
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-location/description
|
2014-01-19 22:14:52 +00:00
|
|
|
This packages creates /etc/config/gluon-location.
|
2013-10-02 12:18:42 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-location/install
|
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-location))
|