1. camlspotter
  2. planck

Commits

camlspotter  committed 03cc685

build change

  • Participants
  • Parent commits 094bfe0
  • Branches 2.0.1

Comments (0)

Files changed (9)

File INSTALL.txt

View file
 (* OASIS_START *)
-(* DO NOT EDIT (digest: d842816879e7156bf93e52c5f92f1e9e) *)
+(* DO NOT EDIT (digest: b19e12735a2edc55d9555e019fd3397d) *)
 This is the INSTALL file for the planck distribution.
 
 This package uses OASIS to generate its build system. See section OASIS for
 In order to compile this package, you will need:
 * ocaml
 * findlib
-* sexplib (>= 108.07.00)
-* spotlib (>= 2.0.0)
-* omake
 
 Installing
 ==========

File OMyMakefile

View file
 #| A flag to tell that we can use OMyMakefile functions
 WithOMy=true
 
+#| The prefix. Equal to the PREFIX environment variable
+try
+  PREFIX=$(getenv PREFIX)
+default
+  eprintln(Specify PREFIX or prefix environment variable.)
+  exit 1 
+
 # OCaml 
 # ========================================================================
 

File _oasis

View file
 OASISFormat: 0.2
 Name:        planck
 Version:     2.0.1
-Synopsis:    Tiny Parsec in OCaml
+Synopsis:    A small monadic parser combinator library
 Authors:     Jun FURUSE
 License:     LGPL-2.0 with OCaml linking exception
 Plugins:      StdFiles (0.2)
 BuildType:    Custom (0.2)
 InstallType:    Custom (0.2)
-XCustomBuild: . yes no | omake --install; PREFIX=$prefix omake
-XCustomInstall: PREFIX=$prefix omake install
-XCustomUninstall: PREFIX=$prefix omake uninstall
+XCustomBuild: yes no | omake --install; omake
+XCustomInstall: omake install
+XCustomUninstall: omake uninstall
 BuildTools: omake
-BuildDepends:  unix

File opam/planck.2.0.1/descr

View file
+A small monadic parser combinator library
+Parser LANguage Combinator Kit A LL(n) parser monadic combinator
+library in OCaml. It includes a big example of lexer+parser for OCaml
+syntax.

File opam/planck.2.0.1/opam

View file
+opam-version: "1"
+maintainer: "jun.furuse@gmail.com"
+build: [
+  ["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%"]
+  ["ocaml" "setup.ml" "-build"]
+  ["ocaml" "setup.ml" "-install"]
+]
+remove: [
+  ["omake" "unintall"]
+]
+depends: ["ocamlfind" "sexplib" {>= "108.07.00"} "spotlib" {>= "2.0.0"} "omake"]
+ocaml-version: [>= "4.00.0"]

File opam/planck.2.0.1/url

View file
+archive: https://bitbucket.org/camlspotter/ocaml-indent/get/2.0.1.tar.gz

File opam/template/descr

View file
+A small monadic parser combinator library
+Parser LANguage Combinator Kit A LL(n) parser monadic combinator
+library in OCaml. It includes a big example of lexer+parser for OCaml
+syntax.

File opam/template/opam

View file
+depends: ["ocamlfind" "sexplib" {>= "108.07.00"} "spotlib" {>= "2.0.0"} "omake"]
+ocaml-version: [>= "4.00.0"]

File setup.ml

View file
 (* setup.ml generated for the first time by OASIS v0.2.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 7e8cfe13bb2dcfec6b0b9b7fbdecd664) *)
+(* DO NOT EDIT (digest: e5c3cf18b79c40ac64930c31fd83b9ec) *)
 (*
    Regenerated by OASIS v0.3.0
    Visit http://oasis.forge.ocamlcore.org for more information and
             CustomPlugin.cmd_main =
               [
                  (OASISExpr.EBool true,
-                   (".",
-                     [
-                        "yes";
-                        "no";
-                        "|";
-                        "omake";
-                        "--install;";
-                        "PREFIX=$prefix";
-                        "omake"
-                     ]))
+                   ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
               ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [
-                 (OASISExpr.EBool true,
-                   ("PREFIX=$prefix", ["omake"; "install"]))
-              ];
+              [(OASISExpr.EBool true, ("omake", ["install"]))];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [
-                 (OASISExpr.EBool true,
-                   ("PREFIX=$prefix", ["omake"; "uninstall"]))
-              ];
+              [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      (".",
-                        [
-                           "yes";
-                           "no";
-                           "|";
-                           "omake";
-                           "--install;";
-                           "PREFIX=$prefix";
-                           "omake"
-                        ]))
+                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [
-                    (OASISExpr.EBool true,
-                      ("PREFIX=$prefix", ["omake"; "install"]))
-                 ];
+                 [(OASISExpr.EBool true, ("omake", ["install"]))];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [
-                    (OASISExpr.EBool true,
-                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
-                 ];
+                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      (".",
-                        [
-                           "yes";
-                           "no";
-                           "|";
-                           "omake";
-                           "--install;";
-                           "PREFIX=$prefix";
-                           "omake"
-                        ]))
+                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [
-                    (OASISExpr.EBool true,
-                      ("PREFIX=$prefix", ["omake"; "install"]))
-                 ];
+                 [(OASISExpr.EBool true, ("omake", ["install"]))];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [
-                    (OASISExpr.EBool true,
-                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
-                 ];
+                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
           maintainers = [];
           authors = ["Jun FURUSE"];
           homepage = None;
-          synopsis = "Tiny Parsec in OCaml";
+          synopsis = "A small monadic parser combinator library";
           description = None;
           categories = [];
           conf_type = (`Configure, "internal", Some "0.3");
           };
      oasis_fn = Some "_oasis";
      oasis_version = "0.3.0";
-     oasis_digest = Some "\152A\188GE\196GS\139H\016\"T\141\158\241";
+     oasis_digest = Some "\139\016w\248mm\218\156\244\224\\\235\027\238\161.";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false;
 
 let setup () = BaseSetup.setup setup_t;;
 
-# 5580 "setup.ml"
+# 5535 "setup.ml"
 (* OASIS_STOP *)
 let () = setup ();;