pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cblas: C bindings and headers for BLAS
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Tue Aug 29 12:22:20 2017 -0500
Changeset: 2131e1bf8ee9f67107107b87004ae916fd974a8e
Added Files:
cblas/DESCR
cblas/Makefile
cblas/PLIST
cblas/buildlink3.mk
cblas/distinfo
Log Message:
cblas: C bindings and headers for BLAS
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2131e1bf8ee9f67107107b87004ae916fd974a8e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cblas/DESCR | 1 +
cblas/Makefile | 34 ++++++++++++++++++++++++++++++++++
cblas/PLIST | 4 ++++
cblas/buildlink3.mk | 13 +++++++++++++
cblas/distinfo | 6 ++++++
5 files changed, 58 insertions(+)
diffs:
diff --git a/cblas/DESCR b/cblas/DESCR
new file mode 100644
index 0000000000..69b212a330
--- /dev/null
+++ b/cblas/DESCR
@@ -0,0 +1 @@
+C bindings and headers for BLAS library.
diff --git a/cblas/Makefile b/cblas/Makefile
new file mode 100644
index 0000000000..01f3cdca6f
--- /dev/null
+++ b/cblas/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+PKGNAME= cblas-1.0
+DISTNAME= cblas
+CATEGORIES= math
+MASTER_SITES= http://www.netlib.org/blas/blast-forum/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= bacon4000%gmail.com@localhost
+HOMEPAGE= http://www.netlib.org/blas/blast-forum/
+COMMENT= C bindings and headers for BLAS library
+# Not sure about this. FreeBSD port has custom blas license.
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/CBLAS
+USE_LANGUAGES= c fortran
+
+SUBST_CLASSES+= libblas
+SUBST_STAGE.libblas= post-patch
+SUBST_SED.libblas= -e 's|libblas.a|-L${PREFIX}/lib -lblas|g'
+SUBST_SED.libblas+= -e 's|cblas_$$(PLAT)|libcblas|g'
+SUBST_FILES.libblas= Makefile.in
+
+INSTALLATION_DIRS= include lib
+
+post-extract:
+ ${CP} ${WRKSRC}/Makefile.LINUX ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/lib/libcblas.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include
+
+.include "../../math/blas/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cblas/PLIST b/cblas/PLIST
new file mode 100644
index 0000000000..f3140e9c7c
--- /dev/null
+++ b/cblas/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+include/cblas.h
+include/cblas_f77.h
+lib/libcblas.a
diff --git a/cblas/buildlink3.mk b/cblas/buildlink3.mk
new file mode 100644
index 0000000000..5ea74bedd2
--- /dev/null
+++ b/cblas/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= cblas
+
+.if !defined(CBLAS_BUILDLINK3_MK)
+CBLAS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cblas+= cblas>=1.0
+BUILDLINK_PKGSRCDIR.cblas?= ../../wip/cblas
+BUILDLINK_DEPMETHOD.cblas?= build
+.endif
+
+BUILDLINK_TREE+= -cblas
diff --git a/cblas/distinfo b/cblas/distinfo
new file mode 100644
index 0000000000..a6f8a17b7a
--- /dev/null
+++ b/cblas/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (cblas.tgz) = d6970cf52592ef67674a61c78bbd055a4e9d4680
+RMD160 (cblas.tgz) = ab908605311ad5dfe280c5fb0e6a1e94156b7a04
+SHA512 (cblas.tgz) = 1c64e6814529cd716890504d213e8cd90150348b9105e8da030718383241a5660d145a14f26e20d27b2aea72c87a9d46b754c6e48935e168d62842c04ba56401
+Size (cblas.tgz) = 197468 bytes
Home |
Main Index |
Thread Index |
Old Index