pkgsrc/math/liblinear/Makefile
adam 7dc8c7317d liblinear: updated to 2.43
Version 2.43
Installing the Python interface through PyPI is supported.

Version 2.42
For dual CD solvers (logistic/l2 losses but not l1 loss), if a maximal number of iterations is reached, LIBLINEAR directly switches to run a primal Newton solver.
2021-04-16 06:48:04 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2021/04/16 06:48:04 adam Exp $
DISTNAME= liblinear-2.43
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"