[csw-devel] SF.net SVN: gar:[8028] csw/mgar/pkg/slang/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 15 23:54:38 CET 2010


Revision: 8028
          http://gar.svn.sourceforge.net/gar/?rev=8028&view=rev
Author:   dmichelsen
Date:     2010-01-15 22:54:38 +0000 (Fri, 15 Jan 2010)

Log Message:
-----------
slang: Add version modulation for legacy 1.4.9

Modified Paths:
--------------
    csw/mgar/pkg/slang/trunk/Makefile
    csw/mgar/pkg/slang/trunk/checksums

Modified: csw/mgar/pkg/slang/trunk/Makefile
===================================================================
--- csw/mgar/pkg/slang/trunk/Makefile	2010-01-15 22:54:04 UTC (rev 8027)
+++ csw/mgar/pkg/slang/trunk/Makefile	2010-01-15 22:54:38 UTC (rev 8028)
@@ -2,22 +2,48 @@
 GARVERSION = 2.2.2
 CATEGORIES = lib
 
+EXTRA_MODULATORS = GARVERSION
+MODULATIONS_GARVERSION = 1.4.9 2.2.2
+
 DESCRIPTION = Library primarily to provide an alternative to libcurses
 define BLURB
 endef
 
-MASTER_SITES = ftp://space.mit.edu/pub/davis/slang/v2.2/
-MASTER_SITES += ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/
-MASTER_SITES += ftp://ftp.ntua.gr/pub/lang/slang/slang/v2.2/
+MASTER_SITES = $(foreach V,$(MODULATIONS_GARVERSION),ftp://space.mit.edu/pub/davis/slang/v$(shell echo $V | perl -ne 'print /(\d+\.\d+)/')/)
+SOURCEFILES = $(foreach VERSION,$(MODULATIONS_GARVERSION), $(GARNAME)-$(VERSION).tar.gz)
+DISTFILES = $(SOURCEFILES)
+NOEXTRACT = $(filter-out $(GARNAME)-$(GARVERSION).tar.gz,$(SOURCEFILES))
 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
+REQUIRED_PKGS = CSWiconv CSWpcrert CSWpng CSWzlib 
+
 SPKG_SOURCEURL = http://www.s-lang.org/
 
+# Setting -L$(libdir) before the newly built lib confuses function
+# definitions if the installed lib is older than the newly built one.
+LINKER_FLAGS =
+
 BUILD64 = 1
 CONFIGURE_ARGS = $(DIRPATHS)
 
+TEST_TARGET_GARVERSION-1.4.9 =
+TEST_TARGET_GARVERSION-2.2.2 = check
+TEST_TARGET = $(TEST_TARGET_GARVERSION-$(GARVERSION))
+
+INSTALL_ARGS_GARVERSION-1.4.9 = install-elf install-links
+INSTALL_ARGS = $(INSTALL_ARGS_GARVERSION-$(GARVERSION))
+
+MERGE_SCRIPTS_isa-default-garversion-1.4.9 = copy-only
+MERGE_DIRS_isa-default-garversion-1.4.9 = $(libdir)
+MERGE_SCRIPTS_isa-default64-garversion-1.4.9 = copy-relocated-only
+MERGE_DIRS_isa-default64-garversion-1.4.9 = $(libdir)
+
+MERGE_SCRIPTS_isa-default-garversion-2.2.2 = copy-all
+MERGE_SCRIPTS_isa-default64-garversion-2.2.2 = copy-relocated-only
+MERGE_DIRS_isa-default64-garversion-2.2.2 = $(bindir) $(sbindir) $(libexecdir) $(libdir)
+
+
 include gar/category.mk
+

Modified: csw/mgar/pkg/slang/trunk/checksums
===================================================================
--- csw/mgar/pkg/slang/trunk/checksums	2010-01-15 22:54:04 UTC (rev 8027)
+++ csw/mgar/pkg/slang/trunk/checksums	2010-01-15 22:54:38 UTC (rev 8028)
@@ -1 +1,2 @@
+c73aa62b2d1b215ca55a7337daa3f543  slang-1.4.9.tar.gz
 e7183d0acab9cc35fae12849f8b848e2  slang-2.2.2.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list