[csw-devel] SF.net SVN: gar:[7404] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Nov 24 13:32:56 CET 2009


Revision: 7404
          http://gar.svn.sourceforge.net/gar/?rev=7404&view=rev
Author:   wahwah
Date:     2009-11-24 12:32:55 +0000 (Tue, 24 Nov 2009)

Log Message:
-----------
chromium: template copied

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

Added Paths:
-----------
    csw/mgar/pkg/chromium/

Modified: csw/mgar/pkg/chromium/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-11-18 23:52:45 UTC (rev 7349)
+++ csw/mgar/pkg/chromium/trunk/Makefile	2009-11-24 12:32:55 UTC (rev 7404)
@@ -11,8 +11,9 @@
 ## For more information about GAR variables, please see:
 ## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
 ##
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = chromium
+CHROMIUM_REVISION = 32797
+GARVERSION = 0.$(CHROMIUM_REVISION)
 ##
 ## The category that your software fits in. This is not a descriptive field, but
 ## influences the build process. Depending on the CATEGORIES setting, different
@@ -25,12 +26,11 @@
 CATEGORIES = lib
 ##
 ## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
+DESCRIPTION = An open-source web browser
 ##
 ## A longer description of the package. This is only for descriptive purposes
 ## inside the Makefile and is not used elsewhere.
 define BLURB
-  <please fill in>
 endef
 ##
 ## Upstream URL that should show up in the VENDOR field as well as on
@@ -39,7 +39,7 @@
 ##
 ## Whitespace-separated list of URLs to download the source package from.
 ## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES =
+MASTER_SITES = http://build.chromium.org/buildbot/archives/
 ##
 ## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
 ## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
@@ -54,7 +54,7 @@
 ## Whitespace-separated list of files which comprise this build. mGAR will look
 ## for the files in the $(FILEDIR) (trunk/files) directory and on the
 ## $(MASTER_SITES).
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES  = chromium.r$(CHROMIUM_REVISION).tgz
 ##
 ## We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -123,10 +123,10 @@
 ## ETCSERVICES = <file containing an entry for /etc/services>
 ## INETDCONF = <file containing an inetd.conf formatted entry>
 ## A list of runtime package dependencies in the form of CSWfoo.
-## REQUIRED_PKGS =
+REQUIRED_PKGS = CSWnspr CSWnss
 ##
 ## A list of packages necessary to build this package
-## PREREQUISITE_PKGS = $(REQUIRED_PKGS)
+PREREQUISITE_PKGS = $(REQUIRED_PKGS) CSWnspr-devel CSWlibxcbdevel
 ##
 ## When using non-empty $(PACKAGES):
 ## REQUIRED_PKGS_CSWpkgname =
@@ -145,10 +145,10 @@
 ## completely (for example when your software doesn't need to be compiled) assign
 ## this variable an empty value. The procedure works for configure, build,
 ## install and test steps.
-## CONFIGURE_SCRIPTS =
-## BUILD_SCRIPTS =
-## INSTALL_SCRIPTS =
-## TEST_SCRIPTS =
+CONFIGURE_SCRIPTS = chromium
+BUILD_SCRIPTS = chromium
+INSTALL_SCRIPTS = chromium
+TEST_SCRIPTS = chromium
 ##
 ## Compilation settings
 ##
@@ -160,7 +160,7 @@
 ## BUILD_ARGS =
 ##
 ## Arguments passed to the ./configure script.
-CONFIGURE_ARGS = $(DIRPATHS)
+## CONFIGURE_ARGS = $(DIRPATHS)
 ##
 ## BUILD64 =
 ## CONFIGURE_ENV =
@@ -176,10 +176,19 @@
 ## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
 ## GARCOMPILER = SOS11
 ##
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+include gar/category.mk
 
-#include gar/category.mk
+configure-chromium: depot-tools
+	false
+	@$(MAKECOOKIE)
+
+depot-tools:
+	(cd $(WORKDIR) \
+		&& \
+	 if [ -d depot_tools ]; then \
+	   (cd depot_tools; svn up); \
+	 else \
+	   svn co http://src.chromium.org/svn/trunk/tools/depot_tools; \
+	 fi \
+	)
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/chromium/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-11-18 23:52:45 UTC (rev 7349)
+++ csw/mgar/pkg/chromium/trunk/checksums	2009-11-24 12:32:55 UTC (rev 7404)
@@ -0,0 +1 @@
+7c09ec3c1f8bc15184b6e9ee83e26925  chromium.r32797.tgz


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