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

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Fri Jan 25 11:38:18 CET 2013


Revision: 20216
          http://gar.svn.sourceforge.net/gar/?rev=20216&view=rev
Author:   cgrzemba
Date:     2013-01-25 10:38:18 +0000 (Fri, 25 Jan 2013)
Log Message:
-----------
ocaml/trunk: add static libs to package

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

Modified: csw/mgar/pkg/ocaml/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ocaml/trunk/Makefile	2013-01-25 07:28:31 UTC (rev 20215)
+++ csw/mgar/pkg/ocaml/trunk/Makefile	2013-01-25 10:38:18 UTC (rev 20216)
@@ -2,19 +2,17 @@
 VERSION = 3.11.2
 GARTYPE = v2
 
-DESCRIPTION = Brief description
+DESCRIPTION = Objective Caml programming language
 define BLURB
-  Long description
+  OCaml's toolset includes an interactive top level interpreter, a bytecode compiler, and an optimizing native code compiler. It has a large standard library that makes it useful for many of the same applications as Python or Perl, as well as robust modular and object-oriented programming constructs that make it applicable for large-scale software engineering. OCaml is the successor to Caml Light. The acronym CAML originally stood for Categorical Abstract Machine Language, although OCaml abandons this abstract machine.
 endef
 
 MASTER_SITES = http://caml.inria.fr/pub/distrib/ocaml-3.11/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
 GARCOMPILER = GCC4
 
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+LICENSE = LICENSE
 
-# UPSTREAM_MASTER_SITES = 
-
 PATCHFILES += 0-patch
 PATCHFILES += 10-patch
 PATCHFILES += 12-patch
@@ -42,12 +40,26 @@
 # http://irccrew.org/~cras/nfs-coding-howto.html
 PATCHFILES += 01-nfs-close-bug.patch
 
-RUNTIME_DEP_PKGS_CSWocaml += CSWlibtcl8-5
+PACKAGES +=  CSWocaml
+SPKG_DESC_CSWocaml = $(DESCRIPTION)
 RUNTIME_DEP_PKGS_CSWocaml += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWocaml += CSWlibtk8-5
+#RUNTIME_DEP_PKGS_CSWocaml += CSWlibtcl8-5
+#RUNTIME_DEP_PKGS_CSWocaml += CSWlibtk8-5
+# include static libs
+MERGE_EXCLUDE_STATICLIBS =
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libasmrun.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libasmrunp.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libbigarray.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libcamlrun.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libgraphics.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libmldbm.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libnums.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libstr.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libthreads.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libthreadsnat.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/libunix.a
+CHECKPKG_OVERRIDES_CSWocaml += discouraged-path-in-pkgmap|/opt/csw/lib/ocaml/vmthreads/libvmthreads.a
 
-LICENSE = LICENSE
-
 EXTRA_INC = $(prefix)/X11/include
 EXTRA_LIB = $(prefix)/X11/lib
 EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib

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