network-manager: use a <pkg>_VERSION_MAJOR variable
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 May 2013 12:08:29 +0000 (12:08 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 29 May 2013 13:41:13 +0000 (15:41 +0200)
Just like we do for many other GNOME-hosted tarballs, use a
<pkg>_VERSION_MAJOR variable for network-manager.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/network-manager/network-manager.mk

index b3715d8df166bdbbfdc19e226c0203e6967948d9..261f2d3abee6fdf0cc4e04c5c8731c3925c04657 100644 (file)
@@ -3,9 +3,11 @@
 # NetworkManager
 #
 #############################################################
-NETWORK_MANAGER_VERSION = 0.9.2.0
+
+NETWORK_MANAGER_VERSION_MAJOR = 0.9
+NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2.0
 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.bz2
-NETWORK_MANAGER_SITE = http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.9/
+NETWORK_MANAGER_SITE = http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR)
 NETWORK_MANAGER_INSTALL_STAGING = YES
 NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib libnl gnutls \
        libgcrypt wireless_tools util-linux host-intltool