commit 5aff1d1fe340926f37a2445bebcc6f2edbc1f461
parent 4ae61ef93624bf30c137663b36b2f12116e58f3d
Author: Steven Barth <steven@midlink.org>
Date: Wed, 10 Dec 2014 17:48:19 +0100
Merge pull request #633 from aTanW/master
Fix gammu config file installation and declaration
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/utils/gammu/Makefile b/utils/gammu/Makefile
@@ -62,7 +62,12 @@ define Package/gammu/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gammu-{smsd,smsd-inject,smsd-monitor} $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/lib{Gammu*,gsmsd*} $(1)/usr/lib
- $(INSTALL_BIN) ./files/gammurc $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_BIN) ./files/gammurc $(1)/etc/gammurc
+endef
+
+define Package/gammu/conffiles
+/etc/gammurc
endef
$(eval $(call BuildPackage,gammu))