summaryrefslogtreecommitdiff
path: root/sci-mathematics/lpsolve
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-mathematics/lpsolve
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/lpsolve')
-rw-r--r--sci-mathematics/lpsolve/Manifest5
-rw-r--r--sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild28
-rw-r--r--sci-mathematics/lpsolve/metadata.xml15
3 files changed, 48 insertions, 0 deletions
diff --git a/sci-mathematics/lpsolve/Manifest b/sci-mathematics/lpsolve/Manifest
new file mode 100644
index 000000000000..519d6cb727b1
--- /dev/null
+++ b/sci-mathematics/lpsolve/Manifest
@@ -0,0 +1,5 @@
+DIST lpsolve-5.5.2.0.tar.xz 737000 SHA256 09d914b43db327fa32c94914917c0db9e4f128c407f41df1dae18df6d2c7573d SHA512 341bff74dccf805cfd3aa4ee844a51f3c46ce875e88b1bf079a6ff0074f7cbd27420ec9c6a66a2530098a85c967457214543895651f4c570b956324a51bb9fe6 WHIRLPOOL a8c2a26f2401c5a230043c7e285d6f24d69645aae70a4a0d9eaf973f2afc35e084d2fd32a70e274d19df51d09372052f79f05ba0251694fd6e10b4f18167b921
+EBUILD lpsolve-5.5.2.0.ebuild 710 SHA256 dcfbe9a687b760b17b52b9e3426524fe5b38ac01dd53122ceca7794a5f74f492 SHA512 5a53d63b09575e6e66daad37aa1ab7cfe6a87951ea62cebf13576e3b98ca3db1f2376c125df39526425763380e4e4a0097140005056e9ffe53baf85c4c1bfd6e WHIRLPOOL 0032975a3dd73cea35a5f22dada7a2afe0bde925dcbea10eb94673ad0788726b46d85487b44925a0893c0ba367ca464ff462b2aba5303a8c5e6c5173cf9c00f5
+MISC ChangeLog 3236 SHA256 45d519f08636951beba108fd958dbf6807e4d83a597a7b207edd97f444cf259c SHA512 1b8a0e7637e8b629090bfdec3fe4adc03e882175be34ea42068a1bcec6befb6beedcf8bef28c334088d964710852b9610e5e119cfab201dff00a0896094edb64 WHIRLPOOL 144dfd9f0c4b708f7e6ff2bacdd481f2b6d79f956195ac298ad4551b46e60536043b30d37a1360c5949115ee6cbad9db83b01be2a2e63e72784e887e8ee5aa95
+MISC ChangeLog-2015 1240 SHA256 c1098a2b4b9b56a449cd10c69c128252586943b74832dac00a4e89931cb50d68 SHA512 8dfef306b77bb137b3d232eb8574402af64ad8d87f754c85154d445c62d59196c79d996e139d5b34a6f2da2277b9d2dcc661de350a4228f8338f774fa80b688f WHIRLPOOL f94010b2db0ea8956e16ceafe70ced764abaf8cfb53400aaee0c9eabf3e2a0b7b84b07caec514c5efc78c7e38f93ee5f1d962b688331ba9007c2964f2028cec3
+MISC metadata.xml 462 SHA256 5d35d5d66c49a87326a262861ab9778e8ef97fd351f77e74877eea105073eb46 SHA512 817ef33327783389aa73830c2ff2b9b54a140dbcaa9ed61a6d0ad7c2058014fc311c5abeef20cac157fac94d71fe2e8de8f241b3d7a2a2df26817d96cc19dd86 WHIRLPOOL ca63b2c011373bf7ec2963a4fb83905a9577f13ce248758f7e604fb1e60dba90e4d7bb9d182497c2c82b605d9209c194bb43fc195c692d70cd976e36ae3c2139
diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
new file mode 100644
index 000000000000..dd828ca40d5a
--- /dev/null
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
+HOMEPAGE="https://sourceforge.net/projects/lpsolve/"
+SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND="sci-libs/colamd"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_install() {
+ default
+ # required because it does not provide .pc file
+ use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/sci-mathematics/lpsolve/metadata.xml b/sci-mathematics/lpsolve/metadata.xml
new file mode 100644
index 000000000000..05746a2d7cce
--- /dev/null
+++ b/sci-mathematics/lpsolve/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>office@gentoo.org</email>
+ <name>Gentoo Office project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lpsolve</remote-id>
+ </upstream>
+</pkgmetadata>