From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/
Date: Wed, 29 Jul 2020 09:45:26 +0000 (UTC) [thread overview]
Message-ID: <1596015900.1b3196dc85f070f271e4bc9c26daa42ae328ffce.jer@gentoo> (raw)
commit: 1b3196dc85f070f271e4bc9c26daa42ae328ffce
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 09:44:12 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 09:45:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3196dc
dev-libs/liblinear: Version 241
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
dev-libs/liblinear/Manifest | 1 +
dev-libs/liblinear/liblinear-241.ebuild | 52 +++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
index e7e7ad78297..0d3874cc119 100644
--- a/dev-libs/liblinear/Manifest
+++ b/dev-libs/liblinear/Manifest
@@ -2,3 +2,4 @@ DIST liblinear-210.tar.gz 381662 BLAKE2B d64d217f7ba67605821062f66d4e9f130f4f239
DIST liblinear-221.tar.gz 520288 BLAKE2B b28c837488f5827ae76f32dc14a1b92027eb5ff123a15c07e9974197eea842c8247420632d259defdba3968383749538c1ed16f6b5c982fad87b3bc52572b485 SHA512 abf21f9030e67886d88a95ad1699e566f8b67bb3bd23253f1f656460911f92a5c3c184fe127390d6100bbf9970cf7a246ef3611b0788907c35a33286228f1753
DIST liblinear-230.tar.gz 524693 BLAKE2B 02e52f6dc26f6ae19dfe52691e4a86c64ea92c40a50d0fbe8a7bddcf06e1216b8f28462fb2105539dedf15ddb07f39ef7e7f78fa7cfd74eac955246e9ed050e7 SHA512 c8acdd9f5cfcf7ef1ff9b9fac658ff51ac4677801fdb9ce6a210ccca7fb136a7957d0edaf45e83269c1928de1926de0200d669cd94e09371c06821d42ba539bc
DIST liblinear-240.tar.gz 558915 BLAKE2B 50aba25c0cb6f9be505b6f9f2b84c67c772b1c8c56cb4b3580b4615c22d30b97a510b28e3d180af29e6c29c4ad77d011319298d6301cb4b2708ad6caf0e1dfc2 SHA512 70e392700cf278d1b62ee7a0b5862dd2a8ea0de28e9660c6d7bc4cac7f098608eba2d20d8f28b5ce0132af09a4446a2cf8aac2ed5f62d35fe304d7a8709ef1d5
+DIST liblinear-241.tar.gz 559122 BLAKE2B 793ef45fc652d6f35908465e754e0aed6568125e74e68ca72466c4d71cc0e30746a999e978521c09a3ada079698f59f2bf65a430679538b7bebc133a258f2588 SHA512 a9ca47b051e28046829a3f355a552b2f5b270dd706170e1d21db1509ef09eca55e2d8ff29695d9e8192baad8bcf50aa76e75a3683948c726f2c9b915a3e4bf27
diff --git a/dev-libs/liblinear/liblinear-241.ebuild b/dev-libs/liblinear/liblinear-241.ebuild
new file mode 100644
index 00000000000..ede9a159d95
--- /dev/null
+++ b/dev-libs/liblinear/liblinear-241.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A Library for Large Linear Classification"
+HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
+SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/^AR/s|=|?=|g' \
+ -e '/^RANLIB/s|=|?=|g' \
+ -e '/^CFLAGS/d;/^CXXFLAGS/d' \
+ blas/Makefile || die
+ sed -i \
+ -e 's|make|$(MAKE)|g' \
+ -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
+ -e '/^CFLAGS/d;/^CXXFLAGS/d' \
+ -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
+ Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS="${CFLAGS} -fPIC" \
+ CXXFLAGS="${CXXFLAGS} -fPIC" \
+ AR="$(tc-getAR) rcv" \
+ RANLIB="$(tc-getRANLIB)" \
+ lib all
+}
+
+src_install() {
+ dolib.so ${PN}.so.4
+ dosym ${PN}.so.4 /usr/$(get_libdir)/${PN}.so
+
+ newbin predict ${PN}-predict
+ newbin train ${PN}-train
+
+ doheader linear.h
+
+ dodoc README
+}
next reply other threads:[~2020-07-29 9:45 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 9:45 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-25 7:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/ Sam James
2023-06-25 7:05 Sam James
2023-06-25 7:05 Sam James
2023-06-25 7:05 Sam James
2023-06-25 7:05 Sam James
2023-06-25 7:05 Sam James
2023-06-25 7:05 Sam James
2023-05-21 19:35 Sam James
2022-01-01 9:38 Sam James
2021-09-27 14:53 Marek Szuba
2021-04-25 5:14 Sam James
2021-04-25 5:14 Sam James
2021-04-23 16:13 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-03-23 4:53 Sam James
2021-03-16 21:56 Sam James
2021-02-15 0:42 Sam James
2021-02-15 0:38 Sam James
2021-02-05 12:29 Sam James
2021-02-02 23:46 Sam James
2021-01-30 10:03 Sam James
2021-01-28 19:47 Sam James
2021-01-28 16:32 Sam James
2021-01-28 16:29 Sam James
2020-12-29 23:35 Sam James
2020-12-20 6:29 Sam James
2020-12-13 12:21 Fabian Groffen
2020-11-15 10:33 Sam James
2020-11-14 19:25 Sergei Trofimovich
2020-11-14 19:24 Sergei Trofimovich
2020-11-14 19:20 Sergei Trofimovich
2020-11-14 19:17 Sergei Trofimovich
2020-11-14 19:01 Sam James
2020-11-14 16:50 Sam James
2020-11-14 0:09 Thomas Deutschmann
2020-11-04 7:29 Sam James
2020-11-04 3:48 Sam James
2020-11-04 3:48 Sam James
2020-07-22 8:20 Jeroen Roovers
2020-07-22 6:07 Jeroen Roovers
2019-08-11 10:06 Jeroen Roovers
2019-04-26 14:30 Jeroen Roovers
2019-04-26 14:30 Jeroen Roovers
2018-11-18 1:18 Thomas Deutschmann
2018-05-27 16:11 Aaron Bauman
2018-04-06 11:05 Fabian Groffen
2017-12-18 14:49 Jeroen Roovers
2017-06-25 9:55 Jeroen Roovers
2017-06-25 9:55 Jeroen Roovers
2016-03-04 2:16 Stephen Klimaszewski
2016-02-14 8:49 Jeroen Roovers
2016-01-09 16:10 Markus Meier
2016-01-02 7:14 Jeroen Roovers
2015-12-28 7:57 Jeroen Roovers
2015-12-26 23:32 Agostino Sarubbo
2015-12-21 14:32 Patrick Lauer
2015-10-03 12:32 Michał Górny
2015-10-03 7:49 Jeroen Roovers
2015-09-29 18:03 Jeroen Roovers
2015-09-29 16:13 Michał Górny
2015-09-29 9:09 Justin Lecher
2015-09-29 4:04 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1596015900.1b3196dc85f070f271e4bc9c26daa42ae328ffce.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox