[csw-devel] SF.net SVN: gar:[17845] csw/mgar/pkg/libstlport/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Apr 24 12:39:51 CEST 2012


Revision: 17845
          http://gar.svn.sourceforge.net/gar/?rev=17845&view=rev
Author:   dmichelsen
Date:     2012-04-24 10:39:50 +0000 (Tue, 24 Apr 2012)
Log Message:
-----------
libstlport/trunk: Update to patch 145730/145731 for Solaris 10 only

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

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


Property changes on: csw/mgar/pkg/libstlport/trunk
___________________________________________________________________
Modified: svn:ignore
   - cookies
download
work


   + work


Modified: csw/mgar/pkg/libstlport/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libstlport/trunk/Makefile	2012-04-24 10:17:03 UTC (rev 17844)
+++ csw/mgar/pkg/libstlport/trunk/Makefile	2012-04-24 10:39:50 UTC (rev 17845)
@@ -1,22 +1,59 @@
 NAME = libstlport
-VERSION = 5.2.1
+VERSION = 4.5.3
 CATEGORIES = lib
 GARTYPE = v2
 
 DESCRIPTION = A multiplatform C++ standard library implementation
-define BLURB
-  STLport is a multiplatform C++ Standard Library implementation.
-endef
 
-MASTER_SITES = $(SF_MIRRORS)
-SF_PROJ = stlport
-DISTNAME = STLport-$(VERSION)
-DISTFILES  = $(DISTNAME).tar.gz
+MASTER_SITES = manual://
+PATCH-sparc = 145730-05
+PATCH-i386  = 145731-05
+PATCH = $(PATCH-$(GARCH))
+DISTNAME = $(PATCH)
+DISTFILES += $(PATCH-sparc).zip
+DISTFILES += $(PATCH-i386).zip
+NOEXTRACT = $(filter-out $(addsuffix .zip,$(PATCH)),$(DISTFILES))
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+# Redistribution of libstlport.so.1 is allowed as noted in
+#   http://developers.sun.com/sunstudio/documentation/ss12/mr/READMEs/runtime.libraries.html
 
-BUILD64_LIBS_ONLY = 1
-CONFIGURE_ARGS = $(DIRPATHS)
+# This patch requires some functions from libm only available on Solaris 10
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
+VENDOR_URL = http://wesunsolve.net/patch/id/$(PATCH)
+
+LICENSE = LEGAL_LICENSE.TXT
+
+PACKAGES += CSWlibstlport1-stlport
+SPKG_DESC_CSWlibstlport1-stlport = Runtime library for Sun Studio STLPort, libstlport.so.1 from patch $(PATCH)
+PKGFILES_CSWlibstlport1-stlport += $(call baseisadirs,$(prefix)/stlport/lib,libstlport.so.1)
+OBSOLETED_BY_CSWlibstlport1-stlport = CSWstlport
+# These are legacy symlinks. Add them to the stub packages for packages that have not been rebuild and require
+# the libstlport.so.1 in /opt/csw/lib
+PKGFILES_CSWstlport += $(libdir)/.*
+# Disable archall as the directories contain sparcv9|amd64
+ARCHALL_CSWstlport =
+
+# Just keep the pathes as we copy the libs verbatim
+CHECKPKG_OVERRIDES_CSWlibstlport1-stlport += bad-rpath-entry
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
 include gar/category.mk
+
+ISADIR_sparcv9 = v9
+ISADIR_amd64 = amd64
+
+install-custom:
+	ginstall -d $(DESTDIR)$(prefix)/stlport/lib
+	ginstall $(WORKSRC)/SPRO-12u2-c++-libs/reloc/solstudio12.2/prod/lib/stlport4/libstlport.so.1 $(DESTDIR)$(prefix)/stlport/lib
+	ginstall -d $(DESTDIR)$(prefix)/stlport/lib/$(ISA_DEFAULT64)
+	ginstall $(WORKSRC)/SPRO-12u2-c++-libs/reloc/solstudio12.2/prod/lib/stlport4/$(ISADIR_$(ISA_DEFAULT64))/libstlport.so.1 $(DESTDIR)$(prefix)/stlport/lib/$(ISA_DEFAULT64)
+	ginstall -d $(DESTDIR)$(prefix)/lib
+	ln -s ../stlport/lib/libstlport.so.1 $(DESTDIR)$(prefix)/lib
+	ginstall -d $(DESTDIR)$(prefix)/lib/$(ISA_DEFAULT64)
+	ln -s ../../stlport/lib/$(ISA_DEFAULT64)/libstlport.so.1 $(DESTDIR)$(prefix)/lib/$(ISA_DEFAULT64)
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/libstlport/trunk/checksums
===================================================================
--- csw/mgar/pkg/libstlport/trunk/checksums	2012-04-24 10:17:03 UTC (rev 17844)
+++ csw/mgar/pkg/libstlport/trunk/checksums	2012-04-24 10:39:50 UTC (rev 17845)
@@ -1 +1,2 @@
-b20ace9f4a487b2614dfbb205bee112c  download/STLport-5.2.1.tar.gz
+340e537c46f601c95b25582ccabf0062  145730-05.zip
+c8a20d60154f2157c20896b4324b190f  145731-05.zip

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