Commits

camlspotter committed 26dcece

oasis update

  • Participants
  • Parent commits 7e42023
  • Branches 1.0.1

Comments (0)

Files changed (5)

 (* OASIS_START *)
-(* DO NOT EDIT (digest: 22e7bd309a1b4f37bfa93a762b41ae0b) *)
-Authors of treeprint
+(* DO NOT EDIT (digest: 63582a408b9848b727b92904ac3074af) *)
+Authors of spotlib
 Jun FURUSE
 (* OASIS_STOP *)
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 2d7a3570eddfbc74728867d34f6c31d7) *)
-This is the INSTALL file for the treeprint distribution.
+(* DO NOT EDIT (digest: 079b45d945085bd110d4ccc6c59d3013) *)
+This is the INSTALL file for the spotlib distribution.
 
 This package uses OASIS to generate its build system. See section OASIS for
 full information. 
 In order to compile this package, you will need:
 * ocaml
 * findlib
-* spotlib
 * omake
 
 Installing
 #| 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
+  try
+    PREFIX=$(getenv prefix)
+  default
+    eprintln(Specify PREFIX or prefix environment variable.)
+    exit 1 
+
 # OCaml 
 # ========================================================================
 
 OASISFormat: 0.2
 Name:        treeprint
-Version:     1.0.0
+Version:     1.0.1
 Synopsis:    Small tree structure printer with operator associations and precedences.
 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; omake
-XCustomInstall: omake install
-XCustomUninstall: omake uninstall
+XCustomBuild: . yes no | omake --install; PREFIX=$prefix omake
+XCustomInstall: PREFIX=$prefix omake install
+XCustomUninstall: PREFIX=$prefix omake uninstall
 BuildTools: omake
-BuildDepends:  spotlib
-
-Library treeprint
-  Path:          lib
-  FindlibName:   treeprint
+BuildDepends:  unix
 (* setup.ml generated for the first time by OASIS v0.3.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 65f08f1aba3243faa2d9e25f8aa3c77e) *)
+(* DO NOT EDIT (digest: a523aa73e057dbdbec8bf60be263bcd9) *)
 (*
    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;"; "omake"]))
+                   (".",
+                     [
+                        "yes";
+                        "no";
+                        "|";
+                        "omake";
+                        "--install;";
+                        "PREFIX=$prefix";
+                        "omake"
+                     ]))
               ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [(OASISExpr.EBool true, ("omake", ["install"]))];
+              [
+                 (OASISExpr.EBool true,
+                   ("PREFIX=$prefix", ["omake"; "install"]))
+              ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+              [
+                 (OASISExpr.EBool true,
+                   ("PREFIX=$prefix", ["omake"; "uninstall"]))
+              ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
+                      (".",
+                        [
+                           "yes";
+                           "no";
+                           "|";
+                           "omake";
+                           "--install;";
+                           "PREFIX=$prefix";
+                           "omake"
+                        ]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["install"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "install"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
+                      (".",
+                        [
+                           "yes";
+                           "no";
+                           "|";
+                           "omake";
+                           "--install;";
+                           "PREFIX=$prefix";
+                           "omake"
+                        ]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["install"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "install"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
           oasis_version = "0.2";
           ocaml_version = None;
           findlib_version = None;
-          name = "treeprint";
-          version = "1.0.0";
+          name = "spotlib";
+          version = "2.0.1";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
           maintainers = [];
           authors = ["Jun FURUSE"];
           homepage = None;
-          synopsis =
-            "Small tree structure printer with operator associations and precedences.";
+          synopsis = "Camlspotter's personal library";
           description = None;
           categories = [];
           conf_type = (`Configure, "internal", Some "0.3");
             [
                Library
                  ({
-                     cs_name = "treeprint";
+                     cs_name = "spotlib";
                      cs_data = PropList.Data.create ();
                      cs_plugin_data = [];
                      },
                       bs_install = [(OASISExpr.EBool true, true)];
                       bs_path = "lib";
                       bs_compiled_object = Best;
-                      bs_build_depends = [FindlibPackage ("spotlib", None)];
+                      bs_build_depends = [FindlibPackage ("unix", None)];
                       bs_build_tools = [ExternalTool "omake"];
                       bs_c_sources = [];
                       bs_data_files = [];
                       lib_pack = false;
                       lib_internal_modules = [];
                       lib_findlib_parent = None;
-                      lib_findlib_name = Some "treeprint";
+                      lib_findlib_name = Some "spotlib";
                       lib_findlib_containers = [];
                       })
             ];
           };
      oasis_fn = Some "_oasis";
      oasis_version = "0.3.0";
-     oasis_digest = Some "\175\nq\011p!2jv\r\165p\232\222\236\189";
+     oasis_digest =
+       Some "\188w\r\154\209\006\250\250\211\230gf\197\151\243\160";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false;
 
 let setup () = BaseSetup.setup setup_t;;
 
-# 5568 "setup.ml"
+# 5613 "setup.ml"
 (* OASIS_STOP *)
 let () = setup ();;