- The addition of several new routines for complex number operations. - Minor changes in the function implementations to use the new operations. + Support user-destdir installation. + Move Makefile for building the BLAS library from patch-aa into files/Makefile.blas. It's simpler to edit this file than to create new patches.
31 lines
820 B
Makefile
31 lines
820 B
Makefile
# $NetBSD: Makefile,v 1.24 2008/03/07 07:14:24 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= blas
|
|
PKGNAME= blas-1.1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.netlib.org/blas/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://www.netlib.org/blas/
|
|
COMMENT= Basic Linear Algebra Subprograms (Fortran)
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
WRKSRC= ${WRKDIR}/BLAS
|
|
USE_LANGUAGES= c fortran
|
|
USE_LIBTOOL= yes
|
|
|
|
# Pass along the major and minor of the version number as the major and
|
|
# minor of the shared library to be built.
|
|
#
|
|
MAKE_ENV+= SHLIB_MAJOR=${PKGNAME_NOREV:S/${PKGBASE}-//:C/[.].*$//}
|
|
MAKE_ENV+= SHLIB_MINOR=${PKGNAME_NOREV:S/${PKGBASE}-//:C/^.*[.]//}
|
|
|
|
post-extract:
|
|
cp -f ${FILESDIR}/Makefile.blas ${WRKSRC}/Makefile
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|