490b95bc39
Version 2.41 released on July 29, 2020 (some bug fixes of version 2.40). Version 2.40 released on July 22, 2020. A new solver: dual coordinate descent method for linear one-class SVM; see the paper The Newton solver is updated to have faster training speed; see the release note A new option -R to allow users not to regularize bias (when -B 1 is used)
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2020/10/28 19:32:32 adam Exp $
|
|
|
|
DISTNAME= liblinear-2.41
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://www.csie.ntu.edu.tw/~cjlin/liblinear/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= https://www.csie.ntu.edu.tw/~cjlin/liblinear/
|
|
COMMENT= Library for large linear classification
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
|
|
BUILD_TARGET= all lib
|
|
|
|
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
|
|
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
|
|
|
INSTALLATION_DIRS+= bin include lib share/doc/${PKGBASE} share/examples/${PKGBASE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/predict ${DESTDIR}${PREFIX}/bin/liblinear-predict
|
|
${INSTALL_PROGRAM} ${WRKSRC}/train ${DESTDIR}${PREFIX}/bin/liblinear-train
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/liblinear.la ${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/linear.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_DATA} ${WRKSRC}/heart_scale \
|
|
${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
.include "../../math/blas/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|