You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2006/07/06 18:29:01 UTC
svn commit: r419609 - /lucene/lucy/trunk/Build.PL
Author: marvin
Date: Thu Jul 6 09:29:00 2006
New Revision: 419609
URL: http://svn.apache.org/viewvc?rev=419609&view=rev
Log:
Add Build.PL, the installation script which will be used for the Perl version
of Lucy. Right now, all it does is use Charmonizer to write a file called
lucyport.h.
Added:
lucene/lucy/trunk/Build.PL
Added: lucene/lucy/trunk/Build.PL
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/Build.PL?rev=419609&view=auto
==============================================================================
--- lucene/lucy/trunk/Build.PL (added)
+++ lucene/lucy/trunk/Build.PL Thu Jul 6 09:29:00 2006
@@ -0,0 +1,40 @@
+use strict;
+use warnings;
+use 5.008003;
+use Module::Build;
+
+use lib 'charmonizer/interpreters/perl';
+use Charmonizer;
+
+my $charmonizer = Charmonizer->new(
+ modules => [
+ 'charmonizer/modules/start.charm',
+ 'charmonizer/modules/integers.charm',
+ 'charmonizer/modules/end.charm',
+ ],
+ out_path => 'lucyport.h'
+);
+
+$charmonizer->run;
+
+# TODO: Write Lucy. :) Then we can install it.
+
+__END__
+
+
+ /**
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+