a3a8a39c45
good enough.
30 lines
801 B
Makefile
30 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.31 2013/06/03 08:04:56 tron Exp $
|
|
|
|
DISTNAME= blas
|
|
PKGNAME= blas-1.1
|
|
PKGREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_NETLIB:=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
|
|
|
|
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"
|