summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-10-23 04:45:36 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-10-23 04:45:36 +0000
commitc769a6226b90ebd74080aede15926275a5f70734 (patch)
tree2618c328c2eba0b9340c7927695627acecec93a2 /dev-ml
parentfirst version in. ulex: a lexer generator for unicode (diff)
downloadgentoo-2-c769a6226b90ebd74080aede15926275a5f70734.tar.gz
gentoo-2-c769a6226b90ebd74080aede15926275a5f70734.tar.bz2
gentoo-2-c769a6226b90ebd74080aede15926275a5f70734.zip
first version in. ulex: a lexer generator for unicode
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ulex/ChangeLog10
-rw-r--r--dev-ml/ulex/Manifest4
-rw-r--r--dev-ml/ulex/files/digest-ulex-0.21
-rw-r--r--dev-ml/ulex/files/ulex-0.2-Makefile.patch34
-rw-r--r--dev-ml/ulex/metadata.xml5
-rw-r--r--dev-ml/ulex/ulex-0.2.ebuild30
6 files changed, 83 insertions, 1 deletions
diff --git a/dev-ml/ulex/ChangeLog b/dev-ml/ulex/ChangeLog
new file mode 100644
index 000000000000..6949da20fa86
--- /dev/null
+++ b/dev-ml/ulex/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/ulex
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ChangeLog,v 1.1 2003/10/23 04:45:29 george Exp $
+
+*ulex-0.2.ebuild (22 Oct 2003)
+
+ 22 Oct 2003; George Shapovalov <george@gentoo.org> Manifest, ulex-0.2.ebuild, files/{digest-ulex-0.2,ulex-0.2-Makefile.patch} :
+ initial release (#30391)
+ ulex: a lexer generator for unicode
+ ebuild submitted by Matthieu Sozeau <mattam@altern.org>
diff --git a/dev-ml/ulex/Manifest b/dev-ml/ulex/Manifest
index 7f23e326b4bf..ab71115d00b5 100644
--- a/dev-ml/ulex/Manifest
+++ b/dev-ml/ulex/Manifest
@@ -1,3 +1,5 @@
-MD5 a91388e1484f96cab1e898b9ff3b5a10 ulex-0.2.ebuild 808
+MD5 2552ee31489a3e9a6dbf1c6d213efd78 ulex-0.2.ebuild 898
+MD5 0f09f953836da2366304fca4f001b115 ChangeLog 481
+MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
MD5 1e27715144205a1f593c9a12864846e8 files/digest-ulex-0.2 59
MD5 c94ec73c168a45ea628225ed73c75e54 files/ulex-0.2-Makefile.patch 1022
diff --git a/dev-ml/ulex/files/digest-ulex-0.2 b/dev-ml/ulex/files/digest-ulex-0.2
new file mode 100644
index 000000000000..7905d1cba24b
--- /dev/null
+++ b/dev-ml/ulex/files/digest-ulex-0.2
@@ -0,0 +1 @@
+MD5 dde239249b8eec4e07f546c9516da392 ulex-0.2.tar.gz 22886
diff --git a/dev-ml/ulex/files/ulex-0.2-Makefile.patch b/dev-ml/ulex/files/ulex-0.2-Makefile.patch
new file mode 100644
index 000000000000..6bf29cf81910
--- /dev/null
+++ b/dev-ml/ulex/files/ulex-0.2-Makefile.patch
@@ -0,0 +1,34 @@
+--- /home/mat/tmp/ulex-0.2/Makefile 2003-09-23 00:59:22.000000000 +0200
++++ Makefile 2003-09-28 21:39:51.000000000 +0200
+@@ -5,18 +5,25 @@
+
+
+ install: all
+- ocamlfind install ulex META $(wildcard *.cmi) $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa)
++ ocamlfind install ulex META $(wildcard *.cmi) $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa) $(wildcard *.mli)
+
+ uninstall:
+ ocamlfind remove ulex
+
+-ULEXING = utf8.mli utf8.ml ulexing.mli ulexing.ml
++ULEXING = utf8.ml ulexing.ml
+ ULEX = cset.ml ulex.mli ulex.ml pa_ulex.ml
+
+-ulexing.cma: $(ULEXING)
+- ocamlc -a -o ulexing.cma $(ULEXING)
+-ulexing.cmxa: $(ULEXING)
+- ocamlopt -a -o ulexing.cmxa $(ULEXING)
++%.cmo: %.mli %.ml
++ ocamlc -c -o $@ $+
++
++%.cmx: %.mli %.ml
++ ocamlopt -c -o $@ $+
++
++ulexing.cma: $(ULEXING:.ml=.cmo)
++ ocamlc -linkall -a -o ulexing.cma $+
++
++ulexing.cmxa: $(ULEXING:.ml=.cmx)
++ ocamlopt -linkall -a -o ulexing.cmxa $+
+
+ pa_ulex.cma: $(ULEX)
+ ocamlc -a -o pa_ulex.cma -pp 'camlp4o pa_extend.cmo q_MLast.cmo' -I +camlp4 $(ULEX)
diff --git a/dev-ml/ulex/metadata.xml b/dev-ml/ulex/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/ulex/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ulex/ulex-0.2.ebuild b/dev-ml/ulex/ulex-0.2.ebuild
new file mode 100644
index 000000000000..32a724a7cfa7
--- /dev/null
+++ b/dev-ml/ulex/ulex-0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ulex-0.2.ebuild,v 1.1 2003/10/23 04:45:29 george Exp $
+
+IUSE=""
+
+DESCRIPTION="ulex: a lexer generator for unicode"
+HOMEPAGE="http://www.cduce.org"
+SRC_URI="http://www.cduce.org/download/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-lang/ocaml-3.06
+ >=dev-ml/findlib-0.8"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-Makefile.patch
+ make all || die
+ make all.opt || die
+}
+
+src_install() {
+ local destdir=`ocamlfind printconf destdir`
+ dodir ${destdir}
+ cp /usr/lib/ocaml/ld.conf ${D}/usr/lib/ocaml/ld.conf
+ make OCAMLFIND_LDCONF=${D}/usr/lib/ocaml/ld.conf.wlex OCAMLFIND_DESTDIR=${D}${destdir} install || die
+ echo "/usr/lib/ocaml/site-packages/ulex" >> ${D}/usr/lib/ocaml/ld.conf
+ dodoc README CHANGES LICENSE
+}