projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd178c
)
ugps: add conffiles section, fix config file perms
author
Nicolas Thill
<
[email protected]
>
Thu, 2 Apr 2015 14:53:00 +0000
(14:53 +0000)
committer
Nicolas Thill
<
[email protected]
>
Thu, 2 Apr 2015 14:53:00 +0000
(14:53 +0000)
Signed-off-by: Nicolas Thill <
[email protected]
>
SVN-Revision: 45240
package/utils/ugps/Makefile
patch
|
blob
|
history
diff --git
a/package/utils/ugps/Makefile
b/package/utils/ugps/Makefile
index 3662125c3a26a5fa03e962d0ccc44e54db781a5e..b724f6189d1782a7295fe2edefe1e6208b619d14 100644
(file)
--- a/
package/utils/ugps/Makefile
+++ b/
package/utils/ugps/Makefile
@@
-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))