Mercurial > mxe-octave
view src/poco.mk @ 1865:aa8e9bab281d
Ensure that $(PWD) is always set, which is needed for use with sudo
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 15 Nov 2011 16:32:32 +0100 |
parents | 8b83f56d4334 |
children | f04ef4f56cf0 |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # POCO C++ Libraries PKG := poco $(PKG)_IGNORE := $(PKG)_VERSION := 1.4.1p1 $(PKG)_CHECKSUM := e9810b8fc14c607626d7d3c74baf60726a61e83c $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_WEBSITE := http://pocoproject.org/ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/sources/$(PKG)-$(word 1,$(subst p, ,$($(PKG)_VERSION)))/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE wget -q -O- 'http://pocoproject.org/download/' | \ $(SED) -n 's,.*poco-\([0-9][^>/]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --config=MinGW-CrossEnv \ --static \ --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install '$(TARGET)-g++' \ -W -Wall -Werror -ansi -pedantic \ '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-poco.exe' \ -lPocoFoundation endef