[csw-devel] SF.net SVN: gar:[11328] csw/mgar/pkg/v8/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Oct 18 22:09:30 CEST 2010


Revision: 11328
          http://gar.svn.sourceforge.net/gar/?rev=11328&view=rev
Author:   wahwah
Date:     2010-10-18 20:09:30 +0000 (Mon, 18 Oct 2010)

Log Message:
-----------
v8: It builds now.

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

Modified: csw/mgar/pkg/v8/trunk/Makefile
===================================================================
--- csw/mgar/pkg/v8/trunk/Makefile	2010-10-18 17:04:26 UTC (rev 11327)
+++ csw/mgar/pkg/v8/trunk/Makefile	2010-10-18 20:09:30 UTC (rev 11328)
@@ -12,9 +12,10 @@
 
 MASTER_SITES = svn-http://v8.googlecode.com/svn/branches/
 # svn checkout http://v8.googlecode.com/svn/branches/bleeding_edge/ v8
-PATCHFILES += 0001-uninitialized-member-v8-internal-Sampler-synchronous.patch
+# PATCHFILES += 0001-uninitialized-member-v8-internal-Sampler-synchronous.patch
 DISTFILES  = $(GARVERSION)
 NOCHECKSUM = $(GARVERSION)
+DISTNAME = $(GARVERSION)
 # $(GARNAME)-$(GARVERSION).tar.gz
 # UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 BUILD_DEP_PKGS  = $(RUNTIME_DEP_PKGS)
@@ -24,7 +25,26 @@
 INSTALL_SCRIPTS = v8
 TEST_SCRIPTS =
 GARCOMPILER = GNU
+SONAME_V = 2.5.1
 
+PACKAGING_PLATFORMS = solaris10-i386
+
+PACKAGES += CSWlibv8-2-5-1
+PACKAGES += CSWlibv8-devel
+CATALOGNAME_CSWlibv8-2-5-1 = libv8_2_5_1
+CATALOGNAME_CSWlibv8-devel = libv8_devel
+
+PKGFILES_CSWlibv8-devel = $(includedir).*
+PKGFILES_CSWlibv8-devel = $(libdir)/libv8\.so
+
+SPKG_DESC_CSWlibv8-2-5-1 = Google\'s open source JavaScript engine
+SPKG_DESC_CSWlibv8-devel = Header files for V8
+
+RUNTIME_DEP_PKGS_CSWlibv8-2-5-1 += CSWgcc4g++rt
+RUNTIME_DEP_PKGS_CSWlibv8-2-5-1 += CSWgcc4corert
+
+LICENSE = LICENSE
+
 include gar/category.mk
 
 build-v8:
@@ -41,4 +61,12 @@
 	@$(MAKECOOKIE)
 
 install-v8:
-	false
+	ginstall -d -m 755 $(DESTDIR)$(libdir)
+	ginstall -m 755 $(WORKSRC)/libv8-$(SONAME_V).so $(DESTDIR)$(libdir)
+	ln -sf libv8-$(SONAME_V).so $(DESTDIR)$(libdir)/libv8.so
+	ginstall -d -m 755 $(DESTDIR)$(includedir)
+	for f in $(WORKSRC)/include/*.h; do \
+		ginstall -m 644 $${f} $(DESTDIR)$(includedir); \
+	done
+	tree $(DESTDIR)
+	@$(MAKECOOKIE)


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