changeset 1373:faa7f27b78db

new package: atlas
author Tony Theodore <tonyt@logyst.com>
date Tue, 16 Nov 2010 19:06:13 +0100
parents 4c3f4e0e3194
children 32a1331a3faf
files src/atlas.mk
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/atlas.mk	Tue Nov 16 19:06:13 2010 +0100
@@ -0,0 +1,25 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# ATLAS
+PKG             := atlas
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 3.8.3
+$(PKG)_CHECKSUM := c7546210df4796457d9e96a00444adc4c0f2e77f
+$(PKG)_SUBDIR   := ATLAS
+$(PKG)_FILE     := $(PKG)$($(PKG)_VERSION).tar.bz2
+$(PKG)_WEBSITE  := http://math-atlas.sourceforge.net/
+$(PKG)_URL      := http://$(SOURCEFORGE_MIRROR)/project/math-atlas/Stable/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_DEPS     := gcc
+
+define $(PKG)_UPDATE
+    # seems to use even/odd development versioning
+endef
+
+define $(PKG)_BUILD
+    mkdir '$(1).build'
+    cd '$(1).build' && '$(1)'/configure \
+        --prefix='$(PREFIX)/$(TARGET)' \
+        --cc='$(TARGET)-gcc'
+    $(MAKE) -C '$(1).build' -j 1 install
+endef