annotate src/lcms.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 3402699ca431
children 13be64f9f16d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2179
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := lcms
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2721
382711917f93 update package lcms
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
6 $(PKG)_CHECKSUM := 9944902864283af49e4e21a1ca456db4e04ea7c2
1470
4665dcb71cd5 upgrade packages: freetype gst-plugins-base gst-plugins-good gstreamer imagemagick lcms libusb openssl x264
Volker Grabsch <vog@notjusthosting.com>
parents: 1466
diff changeset
7 $(PKG)_SUBDIR := $(PKG)$(word 1,$(subst ., ,$($(PKG)_VERSION)))-$(subst a,,$($(PKG)_VERSION))
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1470
diff changeset
8 $(PKG)_FILE := $(PKG)$(word 1,$(subst ., ,$($(PKG)_VERSION)))-$(subst a,,$($(PKG)_VERSION)).tar.gz
974
983f7cf55e69 update version and version recognition of package lcms
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(subst a,,$($(PKG)_VERSION))/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
10 $(PKG)_DEPS := jpeg tiff zlib
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://sourceforge.net/projects/lcms/files/lcms/' | \
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 974
diff changeset
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 974
diff changeset
15 head -1
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
20 --prefix='$(HOST_PREFIX)' \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2721
diff changeset
22 $(ENABLE_SHARED_OR_STATIC) \
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --with-jpeg \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --with-tiff \
3103
3402699ca431 [MSVC] enable lcms compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 --with-zlib && $(CONFIGURE_POST_HOOK)
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3103
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= DESTDIR='$(3)'
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef