diff options
author | Alois Schlögl <alois.schloegl@gmail.com> | 2010-11-16 18:10:10 (GMT) |
---|---|---|
committer | Alois Schlögl <alois.schloegl@gmail.com> | 2010-11-16 18:10:10 (GMT) |
commit | 47ffebc2f219b450a4b57844a500eae0f492785b (patch) | |
tree | 714f6054c6f8390a6aff669305d27be2b89872a2 /src/blas.mk | |
parent | 0b96dfb051e1378f6c22f7502d6c86423e82b18e (diff) | |
download | mxe-47ffebc2f219b450a4b57844a500eae0f492785b.zip mxe-47ffebc2f219b450a4b57844a500eae0f492785b.tar.gz mxe-47ffebc2f219b450a4b57844a500eae0f492785b.tar.bz2 |
new packages: blas cblas lapack
Diffstat (limited to 'src/blas.mk')
-rw-r--r-- | src/blas.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/blas.mk b/src/blas.mk new file mode 100644 index 0000000..3b5ec71 --- /dev/null +++ b/src/blas.mk @@ -0,0 +1,31 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. +# +# + +# blas +PKG := blas +$(PKG)_IGNORE := +$(PKG)_VERSION := +$(PKG)_CHECKSUM := 0aeca4ed45f2e5519977747ed6bcf80d1b0335d2 +$(PKG)_SUBDIR := BLAS +$(PKG)_FILE := blas.tgz +$(PKG)_WEBSITE := http://www.netlib.org/ +$(PKG)_URL := http://www.netlib.org/blas/blas.tgz +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE +endef + +define $(PKG)_BUILD + + $(SED) -i 's,$$(FORTRAN),$(TARGET)-gfortran,g' '$(1)/Makefile' + make -C $(1) + cd $(1) && $(TARGET)-ar cr libblas.a *.o + + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' + $(INSTALL) -m664 '$(1)/libblas.a' '$(PREFIX)/$(TARGET)/lib/' + +endef + + |