summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-11-17 14:06:31 +0000
committerJeroen Roovers <jer@gentoo.org>2014-11-17 14:06:31 +0000
commita868a49028d52b242f7f5f096e42ab3782533b80 (patch)
treedb88223a699038232436ec49a899cf4901dbf68d /dev-libs/liblinear
parentThanks to Julian Simioni and David Flogeras for providing the update to 25.22... (diff)
downloadhistorical-a868a49028d52b242f7f5f096e42ab3782533b80.tar.gz
historical-a868a49028d52b242f7f5f096e42ab3782533b80.tar.bz2
historical-a868a49028d52b242f7f5f096e42ab3782533b80.zip
Version bump.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'dev-libs/liblinear')
-rw-r--r--dev-libs/liblinear/ChangeLog7
-rw-r--r--dev-libs/liblinear/Manifest10
-rw-r--r--dev-libs/liblinear/liblinear-196.ebuild53
3 files changed, 65 insertions, 5 deletions
diff --git a/dev-libs/liblinear/ChangeLog b/dev-libs/liblinear/ChangeLog
index 7197b1d4c293..83c2d78e36dc 100644
--- a/dev-libs/liblinear/ChangeLog
+++ b/dev-libs/liblinear/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/liblinear
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblinear/ChangeLog,v 1.6 2014/08/21 12:45:10 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblinear/ChangeLog,v 1.7 2014/11/17 14:06:30 jer Exp $
+
+*liblinear-196 (17 Nov 2014)
+
+ 17 Nov 2014; Jeroen Roovers <jer@gentoo.org> +liblinear-196.ebuild:
+ Version bump.
21 Aug 2014; Raúl Porcel <armin76@gentoo.org> liblinear-194.ebuild:
Add ~alpha/~ia64/~s390/~sh/~sparc wrt #512546
diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
index 58ef0ce784c5..40cda84fb6c5 100644
--- a/dev-libs/liblinear/Manifest
+++ b/dev-libs/liblinear/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST liblinear-194.tar.gz 335240 SHA256 cce039e66cb82c77e7e816c42f2c1808fcb8df6a1050c94999c419cd20be9f55 SHA512 88ccfa469f3e2cef53ebf8c892197ef9d045877bbdda9073dac59ef6adf878beddb11c751f8b82c281180589a91859d2f13cc94affde5bc417a568d89adad42b WHIRLPOOL 971eb69f51e4eb0e27582c6d30666e8b70be261d0b357b10e95bcd86ac45a0c16a047661c07747b48014c02422cebc77e7e634ca942f75d43a4dcec3db452c61
+DIST liblinear-196.tar.gz 361430 SHA256 e61297bf72f882ba891ec7b77fbc633d6d933738c1d61780917d75747bd0539c SHA512 6ed1ed45a98c1ff050537d4dd3234088c9ec394d339456168133200d074d1eb5ce80391dd2bf99b1a74e3bd4907ca7b04a5dd95bc42fcfad84ec8a6c38a7feb9 WHIRLPOOL a3622c23b29a0c40e00d1af8d53323c2131123d568223ab54a9dcd0c746906a576f57fd5e4d207643283a655647ebd66a9ac13c31fc36a2ffbac2e0bfdfcd98e
EBUILD liblinear-194.ebuild 1304 SHA256 5c5ee89182b25ab15d9c686f522880a8bc501cb5de4e816f8250963f78774598 SHA512 3fefe08c8d4d6426930cd7a1aa0824c3ce308c7f4ba4810c52ec57e3b06a5566c6ebe9f41e316029bf13c5cad73462d97ab14accaa8e0a82bca823e1e8b3b6c5 WHIRLPOOL 3b19e1c9710a72cc450922bb799d9081d9efa38c1061f46777c7d0d70201cd4d79753f18366b1902ff09e62a3fb660e7ab70a12e44b8d9b604b09dd795bed9b6
-MISC ChangeLog 851 SHA256 dd50d1a1fa587ff105287ebd85d8811bf4ad403c859627465fefd8d4213f7cf6 SHA512 197d0140101cc56dc38f1907ad1e24bf5c67bf8e1c193c069e4fed1660c9333d9e9635299d957e7f2e175f72d27d95561bbf48699751442cf3a3d6fc3d3c17c8 WHIRLPOOL 19263f510ee4a771d9cdc8b771e22d53b4e94eea1110d37fd90d9b4d9ec1e78fe95bdb03ba24130aefc3a2413567fd549858d4f52b4e8a24ce81d6153b14b5ae
+EBUILD liblinear-196.ebuild 1300 SHA256 a8bb3ed640d46b2be1da6c5efca5325f2589a70a8b6b2e16943764a3580bc661 SHA512 f6987310e26f7481f9b728846ead235e356888e191c0c67921124c21063416d792a61e3088f372adf5ff362e7f83895826b01bb1c43e2b66a074b86bca26c039 WHIRLPOOL cd25603e3fc0afb8e89c6be9b1a8f9e103f0498937982a170c77043dc6e611d156e71250db5185c0532112352111583e53976e36beeb665c78a1ba9ed577f2f8
+MISC ChangeLog 964 SHA256 313a7bf5aa824690dfcce7245271cb19d4b0b7ad39402dec349b5f126fa900ba SHA512 f1cef44457bbaa19ef17ebb20d5f05c8acc76669753a70651033f9eb8fc59a0295eb1afd46a7d9963ad56862aecaa68b9b75c2a758134c0a5d57a88f71b5bccd WHIRLPOOL 828cbca112cbc167a570209ccb690188cc2b7fb10612aff4d28d099d0744c2e63c3093aa526a5e6b3a2dd42a4525668ea520d4604df8fdd403fbd41110d54d0a
MISC metadata.xml 224 SHA256 d7ffc52704d4bc0180f6f1c448ea4bdd0e3ff3a562384dc944af4a00debc9620 SHA512 6487ad35c6f3d2e4876714919e7bb01fd65f57e7753cbfc318130727dded4fcf8632a06ab9b7a3016fc1ab127434d1d20de2dd0ef2cc63ad162023f2dbf64b1e WHIRLPOOL 879ad2c41f2e1297b677803b2b0478ed2affc91059b198524795e1a128cf8ab6b9fbe78b53bdd3421041f27b419bce387a267e389111125cd55b05e260abc998
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlP16dMACgkQuQc30/atMkD6tgCfZorqQIA5tngdzFVEHmpaEWXG
-r9MAn1cTx4iRMrMn5UQ12GValSlVLHP3
-=TcSC
+iEYEAREIAAYFAlRqAOcACgkQVWmRsqeSphOIlQCfXsBxRMbBuuROKDPjDQQDV2KS
+macAnRfQs5AmSG+HF25qQ1M6OWdFwWzO
+=vgQh
-----END PGP SIGNATURE-----
diff --git a/dev-libs/liblinear/liblinear-196.ebuild b/dev-libs/liblinear/liblinear-196.ebuild
new file mode 100644
index 000000000000..dfb9a96d0736
--- /dev/null
+++ b/dev-libs/liblinear/liblinear-196.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblinear/liblinear-196.ebuild,v 1.1 2014/11/17 14:06:30 jer Exp $
+
+EAPI=5
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A Library for Large Linear Classification"
+HOMEPAGE="http://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"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~s390 ~sh ~sparc ~x86"
+
+# /usr/bin/predict collision
+RDEPEND="!sci-astronomy/predict"
+
+src_prepare() {
+ 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() {
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS} -fPIC" \
+ CXXFLAGS="${CXXFLAGS} -fPIC" \
+ AR="$(tc-getAR) rcv" \
+ RANLIB="$(tc-getRANLIB)" \
+ emake lib all
+}
+
+src_install() {
+ dolib ${PN}.so.2
+ dosym ${PN}.so.2 /usr/$(get_libdir)/${PN}.so
+
+ dobin predict train
+
+ insinto /usr/include
+ doins linear.h
+
+ dodoc README
+}