Revision: 2684
          http://gar.svn.sourceforge.net/gar/?rev=2684&view=rev
Author:   trygvis
Date:     2008-12-22 11:34:48 +0000 (Mon, 22 Dec 2008)

Log Message:
-----------
o First version of ghc (Glasgow Haskell Compiler).

Added Paths:
-----------
    csw/mgar/pkg/ghc/
    csw/mgar/pkg/ghc/Makefile
    csw/mgar/pkg/ghc/branches/
    csw/mgar/pkg/ghc/tags/
    csw/mgar/pkg/ghc/trunk/
    csw/mgar/pkg/ghc/trunk/Makefile
    csw/mgar/pkg/ghc/trunk/checksums
    csw/mgar/pkg/ghc/trunk/files/
    csw/mgar/pkg/ghc/trunk/files/CSWghc-prof.gspec
    csw/mgar/pkg/ghc/trunk/files/CSWghc.gspec

Added: csw/mgar/pkg/ghc/Makefile
===================================================================
--- csw/mgar/pkg/ghc/Makefile                           (rev 0)
+++ csw/mgar/pkg/ghc/Makefile   2008-12-22 11:34:48 UTC (rev 2684)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+       @echo "You are in the pkg/ directory."
+
+%:
+       $(MAKE) -C trunk $* 
+
+paranoid-%:
+       $(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+       $(MAKE) -C trunk $* || echo "   *** make $* in $$i failed ***" >> 
$(BUILDLOG) 


Property changes on: csw/mgar/pkg/ghc/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work

Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/ghc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ghc/trunk/Makefile                             (rev 0)
+++ csw/mgar/pkg/ghc/trunk/Makefile     2008-12-22 11:34:48 UTC (rev 2684)
@@ -0,0 +1,73 @@
+# Copyright 2008 OpenCSW
+#
+# Redistribution and/or use, with or without modification, is
+# permitted. This software is without warranty of any kind. The
+# author(s) shall not be liable in the event that use of the
+# software causes damage.
+
+# TODO: Unpack the bootstrap binaries. Right now they're assumed to be 
installed under /tmp/ghc. 
+#       Might not be too useful when re-building this package.
+
+GARNAME = ghc
+GARVERSION = 6.8.3
+CATEGORIES = apps
+
+DESCRIPTION = State-of-the-art, compiler and interactive environment for 
Haskell.
+define BLURB
+Haskell is an advanced purely functional programming language. An open source
+product of more than twenty years of cutting edge research, it allows rapid
+development of robust, concise, correct software. With strong support for
+integration with other languages, built-in concurrency and parallelism,
+debuggers, profilers, rich libraries and an active community, Haskell makes it
+easier to produce flexible, maintainable high-quality software
+endef
+
+GARCOMPILER = GCC4
+
+# Calculate the correct platform specification for ghc to use when 
bootstrapping
+ifeq ($(shell uname -p),sparc)
+GHC_PLATFORM = sparc-sun
+else
+GHC_PLATFORM = i386-unknown
+endif
+
+# The location of the solaris binaries seems to vary a bit from version to 
version
+
+MASTER_SITES = http://www.haskell.org/ghc/dist/$(GARVERSION)/ 
http://www.haskell.org/ghc/dist/$(GARVERSION)/maeder/
+DISTFILES  = $(GARNAME)-$(GARVERSION)-src.tar.bz2 
ghc-$(GARVERSION)-$(GHC_PLATFORM)-solaris2.tar.bz2 
testsuite-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSW$(GARNAME),)
+DISTFILES += $(call admfiles,CSW$(GARNAME)-prof,)
+
+# We define upstream file regex so we can be notifed of new upstream software 
release
+UFILES_REGEX = $(GARVERSION)/$(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
+
+PKGFILES_CSWghc-prof = $(prefix)/.*\.p_hi
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+# Disabled for now
+TEST_SCRIPTS =
+#TEST_SCRIPTS = custom
+
+include gar/category.mk
+
+PATH := /tmp/ghc/bin:$(PATH)
+
+LD_LIBRARY_PATH=/opt/csw/lib
+export LD_LIBRARY_PATH
+
+# This might not be needed anymore
+pre-build-modulated:
+       @( cd $(WORKSRC); $(MAKE) -C utils/pwd boot )
+
+pre-test-custom:
+       @echo Extracting the testsuite
+       @( echo cd $(WORKSRC); echo gtar jxf 
$(DOWNLOADDIR)/testsuite-$(GARVERSION).tar.gz)
+       false
+       @$(MAKECOOKIE)
+
+test-custom:
+       @echo *******************************
+       @echo *** RUNNING TESTS (not)
+       @echo *******************************
+       @( cd $(WORKSRC)/testsuite/tests/ghc-regress; echo $(MAKE) stage=2 )
+       @$(MAKECOOKIE)

Added: csw/mgar/pkg/ghc/trunk/checksums
===================================================================
--- csw/mgar/pkg/ghc/trunk/checksums                            (rev 0)
+++ csw/mgar/pkg/ghc/trunk/checksums    2008-12-22 11:34:48 UTC (rev 2684)
@@ -0,0 +1,5 @@
+dfa31028b4d06d1d226f55fe3a2ab7b3  download/ghc-6.8.3-src.tar.bz2
+907c15e1d7d33dfd5a829936fe18176a  
download/ghc-6.8.3-i386-unknown-solaris2.tar.bz2
+c92b368262a194e8b859815415bc10d0  download/testsuite-6.8.3.tar.gz
+41b4ca8ae020320be23571cd8a71d4dd  download/CSWghc.gspec
+2c370b5638a7c14488b6844972e74aae  download/CSWghc-prof.gspec

Added: csw/mgar/pkg/ghc/trunk/files/CSWghc-prof.gspec
===================================================================
--- csw/mgar/pkg/ghc/trunk/files/CSWghc-prof.gspec                              
(rev 0)
+++ csw/mgar/pkg/ghc/trunk/files/CSWghc-prof.gspec      2008-12-22 11:34:48 UTC 
(rev 2684)
@@ -0,0 +1,7 @@
+%var            bitname ghc_prof
+%var            pkgname CSWghc-prof
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright
+
+Please see /opt/csw/share/doc/ghc_prof/LICENSE for license information
+

Added: csw/mgar/pkg/ghc/trunk/files/CSWghc.gspec
===================================================================
--- csw/mgar/pkg/ghc/trunk/files/CSWghc.gspec                           (rev 0)
+++ csw/mgar/pkg/ghc/trunk/files/CSWghc.gspec   2008-12-22 11:34:48 UTC (rev 
2684)
@@ -0,0 +1,7 @@
+%var            bitname ghc
+%var            pkgname CSWghc
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright
+
+Please see /opt/csw/share/doc/ghc/LICENSE for license information
+


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
devel mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to