Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 453136 Details for
Bug 599596
dev-libs/liblinear-210-r1: Found .so dynamic libraries on Darwin
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
liblinear ebuild
liblinear-210-r1.ebuild (text/plain), 1.56 KB, created by
Emre Eryilmaz
on 2016-11-12 15:49:48 UTC
(
hide
)
Description:
liblinear ebuild
Filename:
MIME Type:
Creator:
Emre Eryilmaz
Created:
2016-11-12 15:49:48 UTC
Size:
1.56 KB
patch
obsolete
># Copyright 1999-2016 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=5 > >inherit multilib toolchain-funcs eutils > >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/3" >KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" >IUSE="blas" > >RDEPEND=" > blas? ( virtual/blas ) >" >DEPEND=" > ${RDEPEND} > blas? ( virtual/pkgconfig ) >" > >src_prepare() { > epatch "${FILESDIR}/${P}-dylib-darwin.patch" > 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 > if use blas; then > sed -i -e 's:blas/blas.a::g' Makefile || die > fi >} > >src_compile() { > emake \ > CC="$(tc-getCC)" \ > CXX="$(tc-getCXX)" \ > CFLAGS="${CFLAGS} -fPIC" \ > CXXFLAGS="${CXXFLAGS} -fPIC" \ > AR="$(tc-getAR) rcv" \ > RANLIB="$(tc-getRANLIB)" \ > LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \ > lib all >} > >src_install() { > if [[ ${CHOST} == *-darwin* ]] ; then > dolib ${PN}.3.dylib > dosym ${PN}.3.dylib /usr/$(get_libdir)/${PN}.dylib > else > dolib ${PN}.so.3 > dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so > fi > > newbin predict ${PN}-predict > newbin train ${PN}-train > > doheader linear.h > > dodoc README >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 599596
:
453130
|
453134
| 453136