summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-15 00:40:56 +0000
committerSam James <sam@gentoo.org>2021-02-15 00:40:56 +0000
commit9b2ec5e4c8677ae9873a9da4ce964687ff9fab83 (patch)
treefe91c3296b29c3e6662090b042f912e2918a184c /dev-libs/liblinear
parentnet-dns/dnscrypt-proxy: Stabilize 2.0.45 arm, #768372 (diff)
downloadgentoo-9b2ec5e4c8677ae9873a9da4ce964687ff9fab83.tar.gz
gentoo-9b2ec5e4c8677ae9873a9da4ce964687ff9fab83.tar.bz2
gentoo-9b2ec5e4c8677ae9873a9da4ce964687ff9fab83.zip
dev-libs/liblinear: cleanup old
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/liblinear')
-rw-r--r--dev-libs/liblinear/Manifest1
-rw-r--r--dev-libs/liblinear/liblinear-241.ebuild58
2 files changed, 0 insertions, 59 deletions
diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
index 1561b834948..575e7819b21 100644
--- a/dev-libs/liblinear/Manifest
+++ b/dev-libs/liblinear/Manifest
@@ -1,2 +1 @@
-DIST liblinear-241.tar.gz 559122 BLAKE2B 793ef45fc652d6f35908465e754e0aed6568125e74e68ca72466c4d71cc0e30746a999e978521c09a3ada079698f59f2bf65a430679538b7bebc133a258f2588 SHA512 a9ca47b051e28046829a3f355a552b2f5b270dd706170e1d21db1509ef09eca55e2d8ff29695d9e8192baad8bcf50aa76e75a3683948c726f2c9b915a3e4bf27
DIST liblinear-242.tar.gz 561806 BLAKE2B 49c8f87909083addaf62666f34c008e6cf44240f28fdf2fbeca89862e9e19d451cc7ff51ce5b5da589cc701f70ce408c3eefb249f8585a8598e5ff3976177fe2 SHA512 fbcb219f7313b15898e55bd17c6b280007dd4feb913fafd2c3e10375b5a63b8bd274c9d52fd7b265a7575d4657cf4797b734e5793b18c758dfd9ab731fc0e904
diff --git a/dev-libs/liblinear/liblinear-241.ebuild b/dev-libs/liblinear/liblinear-241.ebuild
deleted file mode 100644
index 45dd62fa878..00000000000
--- a/dev-libs/liblinear/liblinear-241.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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
-
- # fix install_name on Darwin
- sed -i \
- -e '/install_name/s:liblinear.so.$(SHVER):'"${EPREFIX}"'/usr/lib/liblinear.$(SHVER).dylib:' \
- -e '/LDFLAGS/s:liblinear.so.$(SHVER):liblinear'"$(get_libname '$(SHVER)')"':' \
- 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}$(get_libname 4)
- dosym ${PN}$(get_libname 4) /usr/$(get_libdir)/${PN}$(get_libname)
-
- newbin predict ${PN}-predict
- newbin train ${PN}-train
-
- doheader linear.h
-
- dodoc README
-}