[csw-devel] SF.net SVN: gar:[4837] csw/mgar/pkg/libmcal/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed May 13 22:20:15 CEST 2009


Revision: 4837
          http://gar.svn.sourceforge.net/gar/?rev=4837&view=rev
Author:   valholla
Date:     2009-05-13 20:20:15 +0000 (Wed, 13 May 2009)

Log Message:
-----------
checkin for package

Modified Paths:
--------------
    csw/mgar/pkg/libmcal/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/libmcal/trunk/checksums

Property Changed:
----------------
    csw/mgar/pkg/libmcal/trunk/


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


Modified: csw/mgar/pkg/libmcal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libmcal/trunk/Makefile	2009-05-13 16:01:26 UTC (rev 4836)
+++ csw/mgar/pkg/libmcal/trunk/Makefile	2009-05-13 20:20:15 UTC (rev 4837)
@@ -1,6 +1,8 @@
 GARNAME = libmcal
 GARVERSION = 0.7
 CATEGORIES = lib
+DRIVERNAME = mcaldrivers
+DRIVERVERSION = 0.9
 
 DESCRIPTION = Modular Calendar Access Library
 define BLURB
@@ -10,26 +12,28 @@
 	One of the main drivers it handles is ICAP.
 endef
 
-SF_PROJ = $(call TOLOWER,$(GARNAME))
 MASTER_SITES = $(SF_MIRRORS)
 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
+BUILD64 = 1
+NO_ISAEXEC = 1
 
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(DRIVERNAME)-$(DRIVERVERSION).tar.gz
+DISTNAME = $(GARNAME)
 PACKAGES = CSWlibmcal
 CATALOGNAME_CSWlibmcal = libmcal
 SPKG_DESC_CSWlibmcal = $(DESCRIPTION)
 
+#REQUIRED_PKGS_CSWlibmcal  = 
 
-REQUIRED_PKGS_CSWlibmcal  = CSWexpat CSWfconfig CSWftype2 CSWiconv 
-
 # We define upstream file regex so we can be notifed of 
 # new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-BUILD64 = 1
-NO_ISAEXEC = 1
 
 CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-mstore 
+CONFIGURE_ARGS += --with-icap
 
 ## There are no tests for this
 TEST_SCRIPTS = skip
@@ -37,4 +41,26 @@
 test-skip:
 	$(DONADA)
 
+post-extract-modulated:
+	perl -i -pe 's|CC=gcc|CC=$(CC)|' $(WORKSRC)/Makefile.in
+	perl -i -pe 's|CFLAGS=.*|CFLAGS=$$\\$$(INCLUDE) $(CFLAGS) -xcode=pic32 |' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|gcc|$$\\$$(CC)|' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|-shared|-G -xcode=pic32 |' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|install -m 755 -o 0 -g 0|ginstall -m 0755|' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|install -m 644 -o 0 -g 0|ginstall -m 0644|' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|\@prefix\@/lib|\@libdir\@|' $(WORKSRC)/Makefile.in
+	perl -i -pne 's|\@prefix\@/include|\@includedir\@|' $(WORKSRC)/Makefile.in
+	#
+	cd $(WORKDIR); gzip -dc $(abspath $(DOWNLOADDIR)/$(DRIVERNAME)-$(DRIVERVERSION).tar.gz) |tar xf -
+	cd $(WORKDIR)/mcal-drivers; cp -R * $(abspath $(WORKSRC))
+	perl -i -pe 's|CC=gcc|CC=$(CC)|' $(WORKSRC)/mstore/Makefile
+	perl -i -pe 's|CFLAGS=.*|CFLAGS=$$\\$$(INCLUDE) $(CFLAGS) -xcode=pic32 |' $(WORKSRC)/mstore/Makefile
+	perl -i -pe 's|ld -r|$$\\$$(CC) $$\\$$(CFLAGS) -G -xcode=pic32 |' $(WORKSRC)/mstore/Makefile
+	gmake -C $(WORKSRC)/mstore
+	perl -i -pe 's|CC=gcc|CC=$(CC)|' $(WORKSRC)/icap/Makefile
+	perl -i -pe 's|CFLAGS=.*|CFLAGS=$$\\$$(INCLUDE) $(CFLAGS) -xcode=pic32 |' $(WORKSRC)/icap/Makefile
+	perl -i -pe 's|ld -r|$$\\$$(CC) $$\\$$(CFLAGS) -G -xcode=pic32 |' $(WORKSRC)/icap/Makefile
+	gmake -C $(WORKSRC)/icap
+	@$(MAKECOOKIE)
+
 include gar/category.mk

Added: csw/mgar/pkg/libmcal/trunk/checksums
===================================================================
--- csw/mgar/pkg/libmcal/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/libmcal/trunk/checksums	2009-05-13 20:20:15 UTC (rev 4837)
@@ -0,0 +1,2 @@
+8d8f16e59a7e859c1407df3d72052825  download/libmcal-0.7.tar.gz
+c8c96f6cd574139b88a13f6084164cfa  download/mcaldrivers-0.9.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