Skip to content
Snippets Groups Projects
Commit 286264b0 authored by nico's avatar nico
Browse files

ugps: add conffiles section, fix config file perms


Signed-off-by: default avatarNicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45240 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent d17614ab
No related branches found
No related tags found
No related merge requests found
......@@ -36,11 +36,15 @@ ifneq ($(CONFIG_USE_GLIBC),)
TARGET_CFLAGS += -D_DEFAULT_SOURCE
endif
define Package/ugps/conffiles
/etc/config/gps
endef
define Package/ugps/install
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ugps $(1)/usr/sbin/
$(INSTALL_BIN) ./files/ugps.init $(1)/etc/init.d/ugps
$(INSTALL_BIN) ./files/gps.config $(1)/etc/config/gps
$(INSTALL_CONF) ./files/gps.config $(1)/etc/config/gps
endef
$(eval $(call BuildPackage,ugps))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment