From c32ebced42170158489f81c262a29ad4c3d7ff98 Mon Sep 17 00:00:00 2001 From: Louis Gesbert Date: Mon, 17 Nov 2014 15:31:15 +0900 Subject: [PATCH] Update 'opam' file --- opam | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/opam b/opam index c5d7dee..2cb07df 100644 --- a/opam +++ b/opam @@ -1,32 +1,33 @@ -opam-version: "1.1" -maintainer: "contact@ocamlpro.com" -tags: ["org:ocamlpro" "org:typerex"] +opam-version: "1.2" +name: "ocp-index" +version: "1.1.0" +maintainer: "louis.gesbert@ocamlpro.com" +authors: [ + "Louis Gesbert" + "Gabriel Radanne" +] homepage: "http://www.typerex.org/ocp-index.html" +bug-reports: "https://github.com/OCamlPro/ocp-index/issues" license: "LGPL" +tags: [ + "org:ocamlpro" + "org:typerex" +] +dev-repo: "https://github.com/OCamlPro/ocp-index.git" build: [ ["./configure" "--prefix" prefix] [make] ] depends: [ - "ocp-build" {>= "1.99.4-beta"} - "ocp-indent" {>= "1.4.1"} + "ocp-build" {>= "1.99.6-beta"} + "ocp-indent" {>= "1.4.2"} "re" "cmdliner" ] -depopts: ["lambda-term"] -conflicts : [ "lambda-term" {< "1.7"} ] -ocaml-version: [ >= "4.00.0" ] -messages: - "To install ocp-browser, please install lambda-term" {! lambda-term:installed} - -post-messages: [ - "OCP-INDEX installed. - -To use it from emacs, add the following to your .emacs: - (add-to-list 'load-path (concat - (replace-regexp-in-string \"\\n$\" \"\" - (shell-command-to-string \"opam config var share\")) - \"/emacs/site-lisp\")) - (require 'ocp-index)" - {success} -] +depopts: "lambda-term" +conflicts: "lambda-term" {< "1.7"} +available: [ocaml-version >= "4.00.0"] +messages: "To install ocp-browser, please install lambda-term" {! lambda-term:installed} +post-messages: "To use ocp-index from emacs, add the following to your .emacs: + (add-to-list 'load-path \"%{share}%/emacs/site-lisp\") + (require 'ocp-index)" {success}