view src/build-msvctools.mk @ 3293:cf6f40cededb

Support file list generation in packages. For the following modules: - arpack - blas - build-autoconf - build-automake - build-cmake - build-gperf - build-libtool - build-msvctools - build-pkg-config - build-texinfo - bzip2 - curl - dbus - expat - fftw - fltk - fontconfig - freetype - gettext - glpk - gmp - gnuplot - gnutls - graphicsmagick - hdf5 - jasper - jpeg - lapack - lcms - libgcrypt - libgpg_error - libiconv - libidn - libpng - libssh2 - libxml2 - ncurses - nettle - openssl - pcre - pstoedit - zlib - qhull - qrupdate - qscintilla - qt - readline - suitesparse - texinfo - tiff
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 09 Nov 2013 23:28:04 -0500
parents f641f0543a6b
children 13be64f9f16d
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-msvctools
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := 4e655032cda30e1928fcc3f00962f4238b502169
$(PKG)_FILE     := gcc-$(build-gcc_VERSION).tar.bz2
$(PKG)_URL      := ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$(build-gcc_VERSION)/$($(PKG)_FILE)
$(PKG)_SUBDIR   := build-msvctools
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    echo 1
endef

$(PKG)_CMAKE_DESTDIR := $(BUILD_TOOLS_PREFIX)/share/cmake-$(call SHORT_PKG_VERSION,build-cmake)

define $(PKG)_BUILD
    make -C '$(1)' -j 1 \
	DESTDIR='$(3)$(HOST_PREFIX)' \
	CMAKE_DESTDIR='$($(PKG)_CMAKE_DESTDIR)' \
	GCCVERSION='$(build-gcc_VERSION)' \
	INSTALL='$(INSTALL)' \
	LIBRARY_PREFIX='$(LIBRARY_PREFIX)' \
	LIBRARY_SUFFIX='$(LIBRARY_SUFFIX)' \
	PATCH='$(PATCH)' \
	SED='$(SED)' \
	WGET='$(WGET)' \
	install
endef