comparison src/gsl.mk @ 838:d11f82bd2ef5

small corrections for package gsl (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 10 Apr 2010 05:08:25 +0200
parents ff7c924750f8
children db4ac7cade9b
comparison
equal deleted inserted replaced
837:ff7c924750f8 838:d11f82bd2ef5
1 # This file is part of mingw-cross-env. 1 # This file is part of mingw-cross-env.
2 # See doc/index.html for further information. 2 # See doc/index.html for further information.
3 3
4 # gsl 4 # GSL
5 PKG := gsl 5 PKG := gsl
6 $(PKG)_IGNORE := 6 $(PKG)_IGNORE :=
7 $(PKG)_VERSION := 1.14 7 $(PKG)_VERSION := 1.14
8 $(PKG)_CHECKSUM := e1a600e4fe359692e6f0e28b7e12a96681efbe52 8 $(PKG)_CHECKSUM := e1a600e4fe359692e6f0e28b7e12a96681efbe52
9 $(PKG)_SUBDIR := gsl-$($(PKG)_VERSION) 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
10 $(PKG)_FILE := gsl-$($(PKG)_VERSION).tar.gz 10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
11 $(PKG)_WEBSITE := http://www.gnu.org/software/gsl 11 $(PKG)_WEBSITE := http://www.gnu.org/software/gsl/
12 $(PKG)_URL := ftp://ftp.gnu.org/gnu/gsl/$($(PKG)_FILE) 12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc 13 $(PKG)_DEPS := gcc
14 14
15 define $(PKG)_UPDATE 15 define $(PKG)_UPDATE
16 wget -q -O- 'http://www.gnu.org/software/gsl' | \ 16 wget -q -O- 'http://www.gnu.org/software/gsl' | \
17 grep -o "GSL-[0-9.]*" | \ 17 grep -o "GSL-[0-9.]*" | \
20 endef 20 endef
21 21
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 cd '$(1)' && ./configure \ 23 cd '$(1)' && ./configure \
24 --host='$(TARGET)' \ 24 --host='$(TARGET)' \
25 --prefix='$(PREFIX)/$(TARGET)' \
25 --disable-shared \ 26 --disable-shared \
26 --prefix='$(PREFIX)/$(TARGET)' 27 --enable-static
27 $(MAKE) -C '$(1)' -j '$(JOBS)' 28 $(MAKE) -C '$(1)' -j '$(JOBS)'
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install 29 $(MAKE) -C '$(1)' -j 1 install
29 endef 30 endef