summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-05 23:52:01 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-05 23:52:01 +0000
commit4741bb247327bcfa32548c882c63c59380b40e82 (patch)
treea472207336b56afa128a785895f1396f09aa133f /dev-libs/liblinear
parentRevision bump to branch 3.12, other branches follow soon; for CVE-2014-3153, ... (diff)
downloadhistorical-4741bb247327bcfa32548c882c63c59380b40e82.tar.gz
historical-4741bb247327bcfa32548c882c63c59380b40e82.tar.bz2
historical-4741bb247327bcfa32548c882c63c59380b40e82.zip
Initial commit (bug #253269).
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'dev-libs/liblinear')
-rw-r--r--dev-libs/liblinear/ChangeLog10
-rw-r--r--dev-libs/liblinear/Manifest14
-rw-r--r--dev-libs/liblinear/liblinear-194.ebuild49
-rw-r--r--dev-libs/liblinear/metadata.xml8
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-libs/liblinear/ChangeLog b/dev-libs/liblinear/ChangeLog
new file mode 100644
index 000000000000..3964ba6f8824
--- /dev/null
+++ b/dev-libs/liblinear/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2014/06/05 23:52:00 jer Exp $
+
+*liblinear-194 (05 Jun 2014)
+
+ 05 Jun 2014; Jeroen Roovers <jer@gentoo.org> +liblinear-194.ebuild,
+ +metadata.xml:
+ Initial commit (bug #253269).
+
diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
new file mode 100644
index 000000000000..9d83bd41fb79
--- /dev/null
+++ b/dev-libs/liblinear/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST liblinear-194.tar.gz 335240 SHA256 cce039e66cb82c77e7e816c42f2c1808fcb8df6a1050c94999c419cd20be9f55 SHA512 88ccfa469f3e2cef53ebf8c892197ef9d045877bbdda9073dac59ef6adf878beddb11c751f8b82c281180589a91859d2f13cc94affde5bc417a568d89adad42b WHIRLPOOL 971eb69f51e4eb0e27582c6d30666e8b70be261d0b357b10e95bcd86ac45a0c16a047661c07747b48014c02422cebc77e7e634ca942f75d43a4dcec3db452c61
+EBUILD liblinear-194.ebuild 1201 SHA256 c196a2a787da8824e559998f629e49b26f94bf7960a5596c6c52f72abbcdedce SHA512 dd662cda24663165af1297b26b3c48f9ebda6bde383266fdfe730a9befa62ce8c18b64cad89185769c6ecaeba8df5507d32241034075d9f3d07dc03963689532 WHIRLPOOL a4ce2cbae12c313f456c7b34c695c2379118952fdb9c289a1f8281de2494be359bd731f9b304d0532072369285404dec96c969bacc417ca1f525c71d57d2d77c
+MISC ChangeLog 356 SHA256 53510e4a50baa3436bf70874b1db4efa1f3896f649eaff8088571b64c2de9056 SHA512 3764ce11234a9df0ce0a19afe5056530dcc7a5efb9f5ea5e7c33475828b482c2c3e7864e9e97d4f34c98967e9491a2dcf9867a2170a07586a805fae073b78742 WHIRLPOOL 4995864e84c9ebe53965e3d1bde774e70aa2c043a336f708bd26094755d39e9513182591ee7576481c5b2039df4f05018e4ec0213ba7d772b7bd059812f86a08
+MISC metadata.xml 224 SHA256 d7ffc52704d4bc0180f6f1c448ea4bdd0e3ff3a562384dc944af4a00debc9620 SHA512 6487ad35c6f3d2e4876714919e7bb01fd65f57e7753cbfc318130727dded4fcf8632a06ab9b7a3016fc1ab127434d1d20de2dd0ef2cc63ad162023f2dbf64b1e WHIRLPOOL 879ad2c41f2e1297b677803b2b0478ed2affc91059b198524795e1a128cf8ab6b9fbe78b53bdd3421041f27b419bce387a267e389111125cd55b05e260abc998
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlORAqEACgkQVWmRsqeSphONegCdFhU55CjX31m+qJhEirsshEXU
+20QAnjRkSxw2Aywk8ehDKFi8jJyX1Jgt
+=cqMp
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/liblinear/liblinear-194.ebuild b/dev-libs/liblinear/liblinear-194.ebuild
new file mode 100644
index 000000000000..d23fadcb965f
--- /dev/null
+++ b/dev-libs/liblinear/liblinear-194.ebuild
@@ -0,0 +1,49 @@
+# 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-194.ebuild,v 1.1 2014/06/05 23:52:00 jer Exp $
+
+EAPI=5
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A Library for Large Linear Classification"
+HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/"
+SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# /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.1
+ dosym ${PN}.so.1 /usr/$(get_libdir)/${PN}.so
+ dobin predict train
+ insinto /usr/include
+ doins linear.h
+}
diff --git a/dev-libs/liblinear/metadata.xml b/dev-libs/liblinear/metadata.xml
new file mode 100644
index 000000000000..ef0483f9ff68
--- /dev/null
+++ b/dev-libs/liblinear/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>