diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
commit | d473a706836012853193afc7000922601e4ada61 (patch) | |
tree | 01c43bd6b2121d90bc97ead47dd7654d9402ea1d /dev-ml/ocamlgraph | |
parent | 420eeee727d39d869d864caddb04a80dafda7160 (diff) |
gentoo resync : 19.10.2017
Diffstat (limited to 'dev-ml/ocamlgraph')
-rw-r--r-- | dev-ml/ocamlgraph/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest index 74d06a757a28..ead5fc7c680c 100644 --- a/dev-ml/ocamlgraph/Manifest +++ b/dev-ml/ocamlgraph/Manifest @@ -1,7 +1,9 @@ AUX ocamlgraph-1.8.6-installfindlib.patch 1383 SHA256 8124bd1b53b4dca99861b18629c7cf92e9907b49ca336d680f6838bb1a99f671 SHA512 a46ef5504a79dc33e25db45832411cb65dc1ca6b41fd572276595f29bc983a96f31b3efe969e82534c4cdbf98e37184d145e38cb9d43d5709c5b233af689ced4 WHIRLPOOL da85c6b4267001467776732022cee70dbdff8cd0d335e0352026736a05ce470a7eec804961732af4d1f029fc23360f9d7505c05b86b6f8c73c319189a758fea7 AUX ocamlgraph-1.8.7-test.patch 594 SHA256 857832cc47056f086cc067b56a5ba950c8ccafb06d262ed92d43538167ed560d SHA512 795a28d8b9702ed8e55d4b001285320c179de77de4edcc260212536cea4bb1bf36c58158ff7975e9a9befc075f03a1a64e069bc2a74a2b7770913a19c52d0652 WHIRLPOOL 4227481f32bb4123e8a1e18548e917dc1b2e66bdd6d66479a6105a881ee8e3495995b522d00864235bfac29066b11224d3b01a1fe2b3d047df92c19aeaf2f969 DIST ocamlgraph-1.8.7.tar.gz 272625 SHA256 df06ca06d25231bb8e162d6b853177cb7fc1565c8f1ec99ca051727d46c985a0 SHA512 27559293bf576ecc9cf49090e24905c50d00ebaeb444a3c917826f3cfe1e7ceab34b43e30f98634811b1688b675d8747b590b5bb103a720d099304f5031feb2e WHIRLPOOL 3b290012a97c96c75b1b63dec056c7afb6d7c1882fc61fd3a88b32397a2e871aa9e872950e6a6e7333450f3b46181df6e27f4fc3464e5c9a3776285a904d4727 +DIST ocamlgraph-1.8.8.tar.gz 282729 SHA256 d9eabefb73cad7bc59b3870f832cd0154f8b60feca89ef087f06e59cb9092f55 SHA512 ccb07d4a7fb0c3026ad2d4563e1ca0a88483ac3cf43c9378989ae5c031961853a11c9673c06b54a16733c5755d9c0a2783c5f475afdcc7692d2bf3d4778f5bc5 WHIRLPOOL adebbe7c1807dace65a2f2cf8ed3ce88ba7dba053d58cd81edfa2ab83e84fda5cc7ce0f0e3101063692feb0db6ca02340dfee602c950a07b4784beab4b4a4b61 EBUILD ocamlgraph-1.8.7.ebuild 1381 SHA256 146a556ffeb083f0433c006ea892ebcb7a624bc549ffe838dd2f00ce1466cb0d SHA512 747ba63e80d2245f757597e0ac4163306413826111cf8567545613e702a934e52bed77f4ec78c89470fbc2847f51f0eff747c9e6fc17c1c62bf4a0642d467331 WHIRLPOOL 76e87a446d4d9e3a5831bc34519821aa5893835a9874facaa0eedde4f0f887929e2cb5d114795ff3036d784dff2fe18b72ad7364d7344db1830b0d094c400b8b +EBUILD ocamlgraph-1.8.8.ebuild 1264 SHA256 3a2b0ddcc150205c9defed08080da6880a69b2f134a13b791e7544f7f3a9987d SHA512 ca2fa5b1541c0ca9c971dd30666babc58b5ee7a31f1f823a0f214450c275e28fee40eca41588f484bc8dffbec7c1ae5bd8e30f01a7eb66d7dd25afa4638d04cd WHIRLPOOL 051c8c21a6ec73ba8f5e11f80dea903bf25f3e6b999fe0423e4816266910e6a71389259425f8eeb8013f7a17b561085b90033bbb8194c023d15dc6686a617fb6 MISC ChangeLog 3440 SHA256 fb49b3b0ead6f4ad27f386e85504f88d1dabc459306b35484f7da3a245a07cde SHA512 89d82a1ef133bd504b7d00bb8d4e65534987a635f3aedc3f8c66522f2b22f15138f0b3cee6d980caaa67f0606c878d18918a12304731a48116a955a4a2324f10 WHIRLPOOL 58bf4cfe3a4920151e9fd105e130145a716b89f708b06ac27332430e5e86f44f874637d0a737366c4a737c70a0a48d8e2633eb3d2ba47bbd39734a640957a977 MISC ChangeLog-2015 2182 SHA256 b469574d03896dda0e823d6c77852274b49e73ca7b187f8f3b6b9b3bc96fde18 SHA512 31294abcf75b5bffaf5dcd58bbd35cf16dddbdac2a3a98389848f4f943a2a71e0f88e2f6d2dcafdeaf38ee02841ca614b0b0e297902598b91988f8a95e5d5f00 WHIRLPOOL 9fb525c357e268fd7a6afb0c6b29f55a3f2e0f3056697d4497fef3338a69d7d5f9b5dfdd43bccb93efa065cf0d2463914d0b32e8becc657bb51867c2e7901a8c MISC metadata.xml 344 SHA256 e6a49eeca17fcb9aec3606a815ee905fc559d4ae5ef72343a55f0e9d3da74a26 SHA512 dcd42727378202ac35190d58628eda36d432463304c09c4c6c9744587a71c74e72a4bd90aa0371a00efed18f0fba7bb3b290bd3c1444b52eeb9b77ecf6cea6c2 WHIRLPOOL 13c3304dd793ea2e1b0756400b07f3977cebdac8dc6e4e3999c5d70959ed209315b7d9d43bf10d28921765efc4a2398b7a0e1d3a51c018f0c2db1da4d4e9e5ab diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild new file mode 100644 index 000000000000..71e564d353db --- /dev/null +++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="O'Caml Graph library" +HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html" +SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] + gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )" +DEPEND="${RDEPEND} + doc? ( dev-tex/hevea dev-ml/ocamlweb )" +IUSE="doc examples gtk +ocamlopt" + +src_compile() { + emake byte + use ocamlopt && emake opt + + if use doc; then + emake doc + fi + + if use gtk; then + emake OCAMLBEST=$(usex ocamlopt opt byte) viewer dgraph editor + fi +} + +src_install() { + findlib_src_preinst + use ocamlopt || export WANT_OCAMLOPT=no + use gtk && export WANT_GTK=yes + emake install-findlib + + if use gtk ; then + local ext=byte + use ocamlopt && ext=opt + newbin dgraph/dgraph.${ext} ${PN}-dgraph + newbin editor/editor.${ext} ${PN}-editor + newbin view_graph/viewgraph.${ext} ${PN}-viewgraph + fi + + dodoc README.adoc CREDITS FAQ CHANGES + if use doc; then + dohtml doc/* + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |