annotate src/eigen.mk @ 2031:42ea60937f81

package eigen: fix filename
author Mark Brand <mabrand@mabrand.nl>
date Sat, 22 Oct 2011 10:59:03 +0200
parents 457e41afeed7
children 276f0c6d3cca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
3
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
4 # eigen
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
5 PKG := eigen
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
7 $(PKG)_VERSION := 2.0.16
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 16732775f93174563e575c3570395a11a5e57104
2028
457e41afeed7 style improvements for projects cgal eigen mpfr
Mark Brand <mabrand@mabrand.nl>
parents: 2027
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$(PKG)-$($(PKG)_VERSION)
2031
42ea60937f81 package eigen: fix filename
Mark Brand <mabrand@mabrand.nl>
parents: 2028
diff changeset
10 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://eigen.tuxfamily.org/
2028
457e41afeed7 style improvements for projects cgal eigen mpfr
Mark Brand <mabrand@mabrand.nl>
parents: 2027
diff changeset
12 $(PKG)_URL := http://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE)
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
14
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
16 wget -q -O- 'http://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
17 grep 'eigen/get/' | \
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
18 $(SED) -n 's,.*eigen/get/\(2[^>]*\)\.tar.*,\1,p' | \
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
19 head -1
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
20 endef
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
21
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
22 define $(PKG)_BUILD
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
23 cd '$(1)' && \
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
24 cmake . -DCMAKE_TOOLCHAIN_FILE=$(PREFIX)/$(TARGET)/share/cmake/mingw-cross-env-conf.cmake
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
26 endef