Mercurial > mxe-octave
view src/plotutils.mk @ 938:795dbc19e055
detangle package pthreads from package gcc
Originally, the builds of gcc and pthreads were interlaced as a
work-around to get OpenMPI support. However, that never worked.
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 03 May 2010 12:12:53 +0200 |
parents | 29f1ba4559ae |
children | 5646072a0081 |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # plotutils PKG := plotutils $(PKG)_IGNORE := $(PKG)_VERSION := 2.6 $(PKG)_CHECKSUM := 7921301d9dfe8991e3df2829bd733df6b2a70838 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://www.gnu.org/software/plotutils/ $(PKG)_URL := http://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc libpng pthreads define $(PKG)_UPDATE wget -q -O- 'http://ftp.gnu.org/gnu/plotutils/?C=M;O=D' | \ grep '<a href="plotutils-' | \ $(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar\.gz.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ --disable-shared \ --enable-libplotter \ --enable-libxmi \ --with-png \ --without-x \ CFLAGS='-DNO_SYSTEM_GAMMA' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= INFO_DEPS= endef