[v2,2/3] Add mobile-broadband-provider-info package.

Submitted by Marek Belisko on March 26, 2012, 8:12 p.m.

Details

Message ID 1332792756-3381-3-git-send-email-marek.belisko@open-nandra.com
State Superseded
Headers show

Commit Message

Marek Belisko March 26, 2012, 8:12 p.m.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in                                  |    1 +
 package/mobile-broadband-provider-info/Config.in   |    6 ++++++
 .../mobile_broadband_provider_info.mk              |   14 ++++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/mobile-broadband-provider-info/Config.in
 create mode 100644 package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk

Comments

Arnout Vandecappelle March 28, 2012, 9:34 p.m.
On Monday 26 March 2012 22:12:35 Marek Belisko wrote:
> +MOBILE_BROADBAND_PROVIDER_INFO_VERSION = master
> +MOBILE_BROADBAND_PROVIDER_INFO_SITE = git://git.gnome.org/mobile-broadband-provider-info

 Please use an explicit commit ID rather than 'master', otherwise the
build is not reproducible.

 Also, I prefer the http method for git access, because some firewalls
block git traffic.  (Actually, ideally the git method should be
updated to try http if the git access method fails...)

 Regards,
 Arnout

Patch hide | download patch | download mbox

diff --git a/package/Config.in b/package/Config.in
index 2dc7e1f..cd41eb9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -424,6 +424,7 @@  endmenu
 endmenu
 
 menu "Miscellaneous"
+source "package/mobile-broadband-provider-info/Config.in"
 source "package/shared-mime-info/Config.in"
 endmenu
 
diff --git a/package/mobile-broadband-provider-info/Config.in b/package/mobile-broadband-provider-info/Config.in
new file mode 100644
index 0000000..dda7105
--- /dev/null
+++ b/package/mobile-broadband-provider-info/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
+	bool "mobile-broadband-provider-info"
+	help
+	  Mobile broadband provider database.
+
+	  http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders
diff --git a/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk b/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk
new file mode 100644
index 0000000..9204bd9
--- /dev/null
+++ b/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# mobile broadband provider info
+#
+#############################################################
+MOBILE_BROADBAND_PROVIDER_INFO_VERSION = master
+MOBILE_BROADBAND_PROVIDER_INFO_SITE = git://git.gnome.org/mobile-broadband-provider-info
+MOBILE_BROADBAND_PROVIDER_INFO_INSTALL_STAGING = YES
+MOBILE_BROADBAND_PROVIDER_INFO_DEPENDENCIES = host-pkg-config
+
+MOBILE_BROADBAND_PROVIDER_INFO_AUTORECONF=YES
+
+$(eval $(call AUTOTARGETS))
+