[Lunar-commits] <moonbase> glib-2: Adjusting the DETAILS to remove MAJOR with the needed SOURCE_URL adjustments.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 6 16:07:26 CET 2011


commit acf20d6c6f3d4b08d1d61d8d011c9f90976af1ff
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 6 10:07:26 2011 -0500

    glib-2: Adjusting the DETAILS to remove MAJOR with the needed SOURCE_URL adjustments.
---
 libs/glib-2/DETAILS |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/libs/glib-2/DETAILS b/libs/glib-2/DETAILS
index bafb978c..e45ffd7 100644
--- a/libs/glib-2/DETAILS
+++ b/libs/glib-2/DETAILS
@@ -1,10 +1,9 @@
           MODULE=glib-2
-           MAJOR=2.30
          VERSION=30.2
           SOURCE=$MODULE.$VERSION.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE.$VERSION
-   SOURCE_URL[0]=$GNOME_URL/sources/glib/$MAJOR
-   SOURCE_URL[1]=ftp://ftp.gtk.org/pub/glib/$MAJOR
+   SOURCE_URL[0]=$GNOME_URL/sources/glib/${MODULE#*-}.${VERSION%.*}
+   SOURCE_URL[1]=ftp://ftp.gtk.org/pub/glib/${MODULE#*-}.${VERSION%.*}
       SOURCE_VFY=sha1:70208757905037fa1f8b89797db0097c5e82a140
         WEB_SITE=http://library.gnome.org/devel/glib
          ENTERED=20020313


More information about the Lunar-commits mailing list