DESCR

The BLAS (Basic Linear Algebra Subprograms) are high quality "building
block" routines for performing basic vector and matrix
operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do
matrix-vector operations, and Level 3 BLAS do matrix-matrix
operations. Because the BLAS are efficient, portable, and widely
available, they're commonly used in the development of high quality
linear algebra software, LINPACK and LAPACK for example.

This package contains the Fortran 77 reference implementation of BLAS.

Makefile

# $NetBSD: Makefile,v 1.28 2009/12/03 13:06:53 asau 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
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"

PLIST

@comment $NetBSD: PLIST,v 1.4 2004/09/22 08:09:42 jlam Exp $
lib/libblas.la

buildlink3.mk

# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:56 joerg Exp $

BUILDLINK_TREE+= blas

.if !defined(BLAS_BUILDLINK3_MK)
BLAS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.blas+= blas>=1.0nb2
BUILDLINK_ABI_DEPENDS.blas+= blas>=1.0nb3
BUILDLINK_PKGSRCDIR.blas?= ../../math/blas
.endif # BLAS_BUILDLINK3_MK

BUILDLINK_TREE+= -blas

distinfo

$NetBSD: distinfo,v 1.6 2008/03/07 07:14:24 jlam Exp $

SHA1 (blas-1.1/blas.tgz) = 0aeca4ed45f2e5519977747ed6bcf80d1b0335d2
RMD160 (blas-1.1/blas.tgz) = ea5c7fed5fe3dadf36023f0ee1222b5200075459
Size (blas-1.1/blas.tgz) = 98957 bytes