mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] New package: libeigen2.mk


From: Brad Pitcher
Subject: [Mingw-cross-env-list] New package: libeigen2.mk
Date: Mon, 26 Sep 2011 10:00:59 -0700

http://eigen.tuxfamily.org/

I've attached the file as well as copy/pasted it here (which messes up the spacing)

==============================

# This file is part of mingw-cross-env.
# See doc/index.html for further information.

# libeigen2
PKG             := libeigen2
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.0.16
$(PKG)_CHECKSUM := 16732775f93174563e575c3570395a11a5e57104
$(PKG)_SUBDIR   := eigen-eigen-$($(PKG)_VERSION)
$(PKG)_FILE     := $($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE  := http://eigen.tuxfamily.org/
$(PKG)_URL      := http://bitbucket.org/eigen/eigen/get/$($(PKG)_FILE)
$(PKG)_DEPS     := gcc

define $(PKG)_UPDATE
    wget -q -O- 'http://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \
    grep 'eigen/get/' | \
    $(SED) -n 's,.*eigen/get/\(2[^>]*\)\.tar.*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(1)' && \
    cmake . -DCMAKE_TOOLCHAIN_FILE=$(PREFIX)/$(TARGET)/share/cmake/mingw-cross-env-conf.cmake
    $(MAKE) -C '$(1)' -j '$(JOBS)' install
endef

Attachment: libeigen2.mk
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]