Added orpie patch
This commit is contained in:
parent
7a220a5975
commit
86315bb612
9
sci-calculators/orpie/Manifest
Normal file
9
sci-calculators/orpie/Manifest
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
AUX orpie-1.5.1-nogsl.patch 1463 SHA256 ffb6c542dfc9cb8adfdd6a5a3a8b689cab5d510f780d8d799aa3f9dc289ca7ba SHA512 b3c3a5bf0d0e8f03ed6912d020a9f84dc1436a7048a7228895f88e169454535b18db299ae3ce224bdfb08f18c8fa9847aa52b4347e50eed53fe697c0b37dc460 WHIRLPOOL ac9ee7fe96a94659a6788f5071bc651ede58e2efd4869a271dd1a7975fe3b1a46d34eb909d06192ec3390af39bcef23c1cda087780f2124eecc517bbea84f118
|
||||||
|
AUX orpie-1.5.1-ocaml311.patch 5460 SHA256 d01d72de12c65cbabfacb4e9cf296d91d9382072b0334e250b0b67f2ae117f78 SHA512 220b8585953328681c7299d140d5aefb54576a82c7897e900ffd493ec0949dd5bf0f02515305e6ae25f76a8ad7f7d8e3d7ce7d231eee05efe3987638650024a2 WHIRLPOOL 3849bc3b4276479a4ae8c16f7b87cc53969ed97de447042662eb57cc1dec1e935b23e1f099ccb15a95dd975f2be5c9f0f499473737748e655577b04aa0c9f992
|
||||||
|
AUX orpie-1.5.1-orpierc.patch 357 SHA256 755643f6564f97742b9024985a1ad03b286b01350c0e0b3037c1ed9b57dec0ed SHA512 8579f8af07fbc43594eb9e7f0b22e9053fbb0d6f30bb0d849592f29edb4df7fae2535b163d7259eef1e6f99cbdfb5fcdbf715c59e24fbc7b7a7250e798e35485 WHIRLPOOL e477c76280172fd808e09180c2ea9d974c6cdb086c965d1d000136a33e6e8ad57a6efac3c90d11baf60f4a3cc9f8cbe5b37eb905b0b2a5c5dc6de55d6f2e17fb
|
||||||
|
AUX orpie-1.5.1-tinfo.patch 186 SHA256 53551ae51ac16d77c297f8b9f84f2ade39e2a19cda81b5910d16839f921d1d2e SHA512 efbab46a367dc10e58b2e635d3bce49b9743766c489c2fba20cfc783fd92256c8afc8502c6d1650466400fb32bbca791f1677745b5610a405d369fb7432d7937 WHIRLPOOL 732411d0cf4280df866d1a2e267fb86963791d69c6576323fa82ced7a3ef8498180a2314a030432aa77c972f069c8078a0a8b5d84d181b97d0e4c2f2506aab7b
|
||||||
|
DIST orpie-1.5.1.tar.gz 370851 SHA256 f68ee37a5351c1dd32a68edae253a22a913fc2124bace1f6cf19cc2d422100cd SHA512 026afcaf37016f07397ba19629a92c5bdffbbec6d25b5f96e9367274afbf7468a7d6626b4ae81d1c9b426dde3a2c66a97e9b48c54dfb3a8079f0d59906f0efb7 WHIRLPOOL 30ba5f026ffc1f704a08d6090eabe6d47f8dfe96ec49ba6a6a772dd85337a54fe7de2b382015e832fc0058e7449a1829fedc6fc87683a074d0cac82dad48150e
|
||||||
|
EBUILD orpie-1.5.1-r1.ebuild 807 SHA256 55214f58c0dcdd033a0b8debd21ba47eac951386f440591d6ea179788488a6f4 SHA512 cbd7f3c5da5d35430e0cf0c6d0a83c9bd9e6c5786c6d817ab85095348478a221e804f4253f87d2d85e356ade96ef6999913fda498682f510263fbe4dfe003cc1 WHIRLPOOL de43e7da943b5837f83465782d1ca2fe3978281dab17e409cf586832693987116479218c027e0a927a948b27a8b2b341de9b8c53d490c684ee830fb8b3e45e50
|
||||||
|
EBUILD orpie-1.5.1-r2.ebuild 822 SHA256 5fc76b8904429cb33ce6be6bdbae5347477832e2aa123bfe0496b00372417744 SHA512 f3eb6641a55718cfd8000f88c2d289bc9730b97e0208a37201d8fce3fe18b188c1047c55c5f164a1fe85100b5af0d89a5cf353cf1f8102e5025b59e06ece0dce WHIRLPOOL a8238ddf9c1730dbb6394931378bdcc656cffc0e3a11d6a32a9715e5cfe9a03709264dbc472993a6493af28b16b963480ae193927f6469ae3a512ca7a2406862
|
||||||
|
EBUILD orpie-1.5.1.ebuild 626 SHA256 6248f2ca4d86eb9aca30bd9d8cdc02482b7d3e94d74b40ad379bbc30b4ad0cdc SHA512 b1b26eb5cc9eef424bad97a1bac1f258f360357b43448caccfa7ae3f3c07be5943e7b662cf66bcdba9f4215054e18870e5d016fe8d43a29672d2e2ad94a6143f WHIRLPOOL 35dee92a5288cd2259dd41e68bf66f899a684570d1a680f5473c71bab75065970cfad1b3c9ac38d92ca79b8090c82a485b7b366b3fab68a46b15f0aeab052422
|
||||||
|
MISC metadata.xml 482 SHA256 1694b89d7cf6205c011f2e794a81c25ea347899e8c1001f83efde52a9f41680b SHA512 050fe93b668614c50b20ed1355b6c62f2ef2d263863c358f0c4ca303d35fccdc0d9c1879cde065355a097e9898cbdc540dd58544ae5c2a68fa08bf8ea082dd87 WHIRLPOOL b627095cd8db858c873c2d3281626d9f546906277271eb70e60898bb39643e4fd024a14efd7fc92067f5589ea76b0bd20ac4f9193640f683b5b2e4e47a8183f4
|
30
sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch
Normal file
30
sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
--- Makefile.in.orig 2010-06-03 21:02:14.000000000 +0100
|
||||||
|
+++ Makefile.in 2010-06-03 21:02:49.000000000 +0100
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
CURSES_LIB = @CURSES_LIB@
|
||||||
|
GSL_LIB = @GSL_LIB@
|
||||||
|
|
||||||
|
-INCLUDES = -I ./curses -I ./gsl -I ./units
|
||||||
|
+INCLUDES = -I ./curses -I /usr/lib/ocaml/gsl -I ./units
|
||||||
|
BFLAGS = -pp camlp4o -g $(INCLUDES) -thread
|
||||||
|
OFLAGS = -pp camlp4o $(INCLUDES) -thread
|
||||||
|
BLFLAGS = -custom -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
|
||||||
|
@@ -72,16 +72,8 @@
|
||||||
|
CURSES_BOBJS = $(CURSES_CMO) $(CURSES_COBJS)
|
||||||
|
CURSES_OOBJS = $(CURSES_CMX) $(CURSES_COBJS)
|
||||||
|
|
||||||
|
-GSL_CMO = gsl/gsl_error.cmo gsl/gsl_blas.cmo gsl/gsl_complex.cmo gsl/gsl_matrix.cmo gsl/gsl_matrix_complex.cmo \
|
||||||
|
- gsl/gsl_vector.cmo gsl/gsl_vector_complex.cmo gsl/gsl_vector_flat.cmo gsl/gsl_matrix_flat.cmo \
|
||||||
|
- gsl/gsl_vector_complex_flat.cmo gsl/gsl_matrix_complex_flat.cmo gsl/gsl_vectmat.cmo \
|
||||||
|
- gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo
|
||||||
|
-GSL_CMX = $(GSL_CMO:.cmo=.cmx)
|
||||||
|
-GSL_COBJS = gsl/mlgsl_error.o gsl/mlgsl_blas.o gsl/mlgsl_blas_complex.o gsl/mlgsl_complex.o \
|
||||||
|
- gsl/mlgsl_matrix_complex.o gsl/mlgsl_matrix_double.o gsl/mlgsl_vector_double.o gsl/mlgsl_permut.o \
|
||||||
|
- gsl/mlgsl_linalg.o gsl/mlgsl_linalg_complex.o gsl/mlgsl_fun.o gsl/mlgsl_math.o gsl/mlgsl_sf.o
|
||||||
|
-GSL_BOBJS = $(GSL_COBJS) $(GSL_CMO)
|
||||||
|
-GSL_OOBJS = $(GSL_COBJS) $(GSL_CMX)
|
||||||
|
+GSL_BOBJS = /usr/lib/ocaml/gsl/gsl.cma
|
||||||
|
+GSL_OOBJS = /usr/lib/ocaml/gsl/gsl.cmxa
|
||||||
|
|
||||||
|
UNITS_CMO = units/units.cmo
|
||||||
|
UNITS_CMX = $(UNITS_CMO:.cmo=.cmx)
|
200
sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch
Normal file
200
sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch
Normal file
@ -0,0 +1,200 @@
|
|||||||
|
diff -Naru orpie-1.5.1/Makefile.in orpie-1.5.1_1/Makefile.in
|
||||||
|
--- orpie-1.5.1/Makefile.in 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/Makefile.in 2010-05-12 11:44:33.000000000 -0400
|
||||||
|
@@ -257,10 +257,7 @@
|
||||||
|
units/%.cmo : units/%.ml
|
||||||
|
$(OCAMLC) -c $(UNITS_BFLAGS) $<
|
||||||
|
|
||||||
|
-units/%.o : units/%.ml
|
||||||
|
- $(OCAMLOPT) -c $(UNITS_OFLAGS) $<
|
||||||
|
-
|
||||||
|
-units/%.cmx : units/%.ml
|
||||||
|
+units/%.o units/%.cmx : units/%.ml
|
||||||
|
$(OCAMLOPT) -c $(UNITS_OFLAGS) $<
|
||||||
|
|
||||||
|
|
||||||
|
@@ -271,22 +268,15 @@
|
||||||
|
%.cmo : %.ml
|
||||||
|
$(OCAMLC) -c $(BFLAGS) $<
|
||||||
|
|
||||||
|
-%.o : %.ml
|
||||||
|
- $(OCAMLOPT) -c $(OFLAGS) $<
|
||||||
|
-
|
||||||
|
-%.cmx : %.ml
|
||||||
|
+%.o %.cmx : %.ml
|
||||||
|
$(OCAMLOPT) -c $(OFLAGS) $<
|
||||||
|
|
||||||
|
%.ml : %.mll
|
||||||
|
$(OCAMLLEX) $<
|
||||||
|
|
||||||
|
-%.ml : %.mly
|
||||||
|
+%.ml %.mli : %.mly
|
||||||
|
$(OCAMLYACC) -v $<
|
||||||
|
|
||||||
|
-%.mli : %.mly
|
||||||
|
- $(OCAMLYACC) -v $<
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
|
# Emacs tags
|
||||||
|
############
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_blas.ml orpie-1.5.1_1/gsl/gsl_blas.ml
|
||||||
|
--- orpie-1.5.1/gsl/gsl_blas.ml 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_blas.ml 2010-05-12 11:24:11.000000000 -0400
|
||||||
|
@@ -118,6 +118,7 @@
|
||||||
|
|
||||||
|
(** {3 Single precision} *)
|
||||||
|
|
||||||
|
+(*
|
||||||
|
open Gsl_vector.Single
|
||||||
|
open Gsl_matrix.Single
|
||||||
|
|
||||||
|
@@ -187,6 +188,7 @@
|
||||||
|
alpha:float -> a:matrix -> b:matrix -> unit
|
||||||
|
= "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
|
||||||
|
|
||||||
|
(** {3 Complex} *)
|
||||||
|
@@ -274,6 +276,7 @@
|
||||||
|
|
||||||
|
(** {3 Complex single precision} *)
|
||||||
|
|
||||||
|
+(*
|
||||||
|
open Gsl_vector_complex.Single
|
||||||
|
open Gsl_matrix_complex.Single
|
||||||
|
open Gsl_complex
|
||||||
|
@@ -354,3 +357,4 @@
|
||||||
|
a:matrix -> b:matrix -> beta:float -> c:matrix -> unit
|
||||||
|
= "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_blas.mli orpie-1.5.1_1/gsl/gsl_blas.mli
|
||||||
|
--- orpie-1.5.1/gsl/gsl_blas.mli 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_blas.mli 2010-05-12 11:23:36.000000000 -0400
|
||||||
|
@@ -118,6 +118,7 @@
|
||||||
|
|
||||||
|
(** {3 Single precision} *)
|
||||||
|
|
||||||
|
+(*
|
||||||
|
open Gsl_vector.Single
|
||||||
|
open Gsl_matrix.Single
|
||||||
|
|
||||||
|
@@ -187,6 +188,7 @@
|
||||||
|
alpha:float -> a:matrix -> b:matrix -> unit
|
||||||
|
= "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
|
||||||
|
|
||||||
|
(** {3 Complex} *)
|
||||||
|
@@ -274,6 +276,7 @@
|
||||||
|
|
||||||
|
(** {3 Complex single precision} *)
|
||||||
|
|
||||||
|
+(*
|
||||||
|
open Gsl_vector_complex.Single
|
||||||
|
open Gsl_matrix_complex.Single
|
||||||
|
open Gsl_complex
|
||||||
|
@@ -354,3 +357,4 @@
|
||||||
|
a:matrix -> b:matrix -> beta:float -> c:matrix -> unit
|
||||||
|
= "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_matrix.ml orpie-1.5.1_1/gsl/gsl_matrix.ml
|
||||||
|
--- orpie-1.5.1/gsl/gsl_matrix.ml 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_matrix.ml 2010-05-12 11:22:51.000000000 -0400
|
||||||
|
@@ -86,6 +86,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single =
|
||||||
|
struct
|
||||||
|
type float_mat_bigarr =
|
||||||
|
@@ -164,3 +165,4 @@
|
||||||
|
external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy"
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_matrix.mli orpie-1.5.1_1/gsl/gsl_matrix.mli
|
||||||
|
--- orpie-1.5.1/gsl/gsl_matrix.mli 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_matrix.mli 2010-05-12 11:22:42.000000000 -0400
|
||||||
|
@@ -45,6 +45,7 @@
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_transpose"
|
||||||
|
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single : sig
|
||||||
|
|
||||||
|
type float_mat_bigarr =
|
||||||
|
@@ -87,3 +88,4 @@
|
||||||
|
external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy"
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.ml orpie-1.5.1_1/gsl/gsl_matrix_complex.ml
|
||||||
|
--- orpie-1.5.1/gsl/gsl_matrix_complex.ml 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_matrix_complex.ml 2010-05-12 11:24:59.000000000 -0400
|
||||||
|
@@ -108,6 +108,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single =
|
||||||
|
struct
|
||||||
|
type complex_float_mat_bigarr =
|
||||||
|
@@ -208,3 +209,4 @@
|
||||||
|
external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy"
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.mli orpie-1.5.1_1/gsl/gsl_matrix_complex.mli
|
||||||
|
--- orpie-1.5.1/gsl/gsl_matrix_complex.mli 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_matrix_complex.mli 2010-05-12 11:25:00.000000000 -0400
|
||||||
|
@@ -51,6 +51,7 @@
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_transpose"
|
||||||
|
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single : sig
|
||||||
|
|
||||||
|
type complex_float_mat_bigarr =
|
||||||
|
@@ -96,3 +97,4 @@
|
||||||
|
external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy"
|
||||||
|
external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_vector.ml orpie-1.5.1_1/gsl/gsl_vector.ml
|
||||||
|
--- orpie-1.5.1/gsl/gsl_vector.ml 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_vector.ml 2010-05-12 11:22:19.000000000 -0400
|
||||||
|
@@ -95,6 +95,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single =
|
||||||
|
struct
|
||||||
|
type float_vector_bigarr =
|
||||||
|
@@ -178,3 +179,4 @@
|
||||||
|
external minmax_index : vector -> int * int
|
||||||
|
= "ml_gsl_vector_float_minmaxindex"
|
||||||
|
end
|
||||||
|
+*)
|
||||||
|
diff -Naru orpie-1.5.1/gsl/gsl_vector.mli orpie-1.5.1_1/gsl/gsl_vector.mli
|
||||||
|
--- orpie-1.5.1/gsl/gsl_vector.mli 2007-09-13 23:31:23.000000000 -0400
|
||||||
|
+++ orpie-1.5.1_1/gsl/gsl_vector.mli 2010-05-12 11:22:19.000000000 -0400
|
||||||
|
@@ -65,6 +65,7 @@
|
||||||
|
|
||||||
|
(** {3 Single precision} *)
|
||||||
|
|
||||||
|
+(*
|
||||||
|
module Single : sig
|
||||||
|
type float_vector_bigarr =
|
||||||
|
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t
|
||||||
|
@@ -121,3 +122,4 @@
|
||||||
|
|
||||||
|
val subvector : vector -> off:int -> len:int -> vector
|
||||||
|
end
|
||||||
|
+*)
|
11
sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch
Normal file
11
sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- orpie-1.5.1.orig/orpierc
|
||||||
|
+++ orpie-1.5.1/orpierc
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
# directory for storing Orpie data
|
||||||
|
set datadir="~/.orpie/"
|
||||||
|
# editor used for fullscreen viewing of stack elements
|
||||||
|
-set editor="vi"
|
||||||
|
+set editor="${EDITOR}"
|
||||||
|
# whether or not to hide the help panel
|
||||||
|
set hide_help="false"
|
||||||
|
# whether or not to conserve memory in favor of faster rendering
|
10
sci-calculators/orpie/files/orpie-1.5.1-tinfo.patch
Normal file
10
sci-calculators/orpie/files/orpie-1.5.1-tinfo.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- a/aclocal.m4
|
||||||
|
+++ b/aclocal.m4
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
LIBS="$mp_save_LIBS"
|
||||||
|
+ AC_SEARCH_LIBS([stdscr], [tinfo curses], [CURSES_LIB="$CURSES_LIB $ac_res"],)
|
||||||
|
])dnl
|
||||||
|
|
||||||
|
|
13
sci-calculators/orpie/metadata.xml
Normal file
13
sci-calculators/orpie/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>sci@gentoo.org</email>
|
||||||
|
<name>Gentoo Science Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
Orpie is a fullscreen RPN calculator for the console. Its operation is
|
||||||
|
similar to that of modern HP calculators, but data entry has been
|
||||||
|
optimized for efficiency on a PC keyboard.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
33
sci-calculators/orpie/orpie-1.5.1-r1.ebuild
Normal file
33
sci-calculators/orpie/orpie-1.5.1-r1.ebuild
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit eutils autotools
|
||||||
|
|
||||||
|
DESCRIPTION="A fullscreen RPN calculator for the console"
|
||||||
|
HOMEPAGE="http://pessimization.com/software/orpie/"
|
||||||
|
SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
DEPEND="dev-ml/ocamlgsl
|
||||||
|
sys-libs/ncurses"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${P}-ocaml311.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-nogsl.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-orpierc.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-tinfo.patch
|
||||||
|
sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile.in || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
use doc && dodoc doc/manual.pdf && dohtml doc/manual.html
|
||||||
|
}
|
34
sci-calculators/orpie/orpie-1.5.1-r2.ebuild
Normal file
34
sci-calculators/orpie/orpie-1.5.1-r2.ebuild
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit eutils autotools
|
||||||
|
|
||||||
|
DESCRIPTION="A fullscreen RPN calculator for the console"
|
||||||
|
HOMEPAGE="http://pessimization.com/software/orpie/"
|
||||||
|
SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
DEPEND="dev-ml/ocamlgsl
|
||||||
|
dev-ml/camlp4
|
||||||
|
sys-libs/ncurses"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${P}-ocaml311.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-nogsl.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-orpierc.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-tinfo.patch
|
||||||
|
sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile.in || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
use doc && dodoc doc/manual.pdf && dohtml doc/manual.html
|
||||||
|
}
|
25
sci-calculators/orpie/orpie-1.5.1.ebuild
Normal file
25
sci-calculators/orpie/orpie-1.5.1.ebuild
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
DESCRIPTION="A fullscreen RPN calculator for the console"
|
||||||
|
HOMEPAGE="http://pessimization.com/software/orpie/"
|
||||||
|
SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ppc -sparc x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="dev-lang/ocaml
|
||||||
|
sys-libs/ncurses
|
||||||
|
sci-libs/gsl"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die "emake install failed"
|
||||||
|
dodoc README ChangeLog doc/TODO || die
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins doc/manual.pdf doc/manual.html || die
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user