[csw-devel] SF.net SVN: gar:[6358] csw/mgar/pkg/xapian-bindings/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Sat Sep 19 13:56:58 CEST 2009
Revision: 6358
http://gar.svn.sourceforge.net/gar/?rev=6358&view=rev
Author: dmichelsen
Date: 2009-09-19 11:56:58 +0000 (Sat, 19 Sep 2009)
Log Message:
-----------
xapian-bindings: Adjust compilation
Modified Paths:
--------------
csw/mgar/pkg/xapian-bindings/trunk/Makefile
Modified: csw/mgar/pkg/xapian-bindings/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xapian-bindings/trunk/Makefile 2009-09-19 01:36:05 UTC (rev 6357)
+++ csw/mgar/pkg/xapian-bindings/trunk/Makefile 2009-09-19 11:56:58 UTC (rev 6358)
@@ -2,6 +2,10 @@
GARVERSION = 1.0.11
CATEGORIES = lib
+EXTRA_MODULATORS = BINDING
+#MODULATIONS_BINDING = ruby python
+MODULATIONS_BINDING = ruby
+
DESCRIPTION = Xapian bindings for SWIG and JNI
define BLURB
Xapian is an Open Source Probabilistic Information Retrieval Library. It
@@ -16,17 +20,30 @@
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
-PACKAGES = CSWxapianbindings
-CATALOGNAME_CSWxapianbindings = xapian_bindings
+PACKAGES = CSWpyxapian CSWrbxapian
+CATALOGNAME_CSWpyxapian = py_xapian
+CATALOGNAME_CSWrbxapian = rb_xapian
-REQUIRED_PKGS = CSWxapiancore CSWstlport
+SPKG_DESC_CSWpyxapian = Xapian bindings for Python
+SPKG_DESC_CSWrbxapian = Xapian bindings for Ruby
-#EXTRA_LD_FLAGS = -lm
+PREREQUISITE_PKGS = CSWrubydev
+REQUIRED_PKGS_CSWpyxapian = CSWpython CSWxapianrt
+REQUIRED_PKGS_CSWrbxapian = CSWruby CSWxapianrt CSWgcc3corert
+GARCOMPILER_ruby = GCC3
+GARCOMPILER_python = SOS11
+GARCOMPILER = $(if $(GARCOMPILER_$(BINDING)),$(GARCOMPILER_$(BINDING)),SOS11)
+
+CONFIGURE_ARGS_ruby = --without-python --without-php --with-ruby --without-tcl --without-csharp --without-java
+CONFIGURE_ARGS_python = --with-python --without-php --without-ruby --without-tcl --without-csharp --without-java
+
CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(BINDING))
-#BUILD_ARGS = AM_CXXFLAGS="-library=stlport4 -features=tmplife"
-
TEST_TARGET = check
+MERGE_SCRIPTS_isa-sparcv8-binding-ruby = copy-all
+MERGE_SCRIPTS_isa-sparcv8-binding-python = copy-all
+
include gar/category.mk
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