annotate src/lcms.mk @ 759:bf4bcb3370fa

changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 16 Feb 2010 04:12:53 +0100
parents 29f1ba4559ae
children 983f7cf55e69
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 638
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/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 # lcms
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := lcms
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
569
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 549
diff changeset
7 $(PKG)_VERSION := 1.19
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 549
diff changeset
8 $(PKG)_CHECKSUM := d5b075ccffc0068015f74f78e4bc39138bcfe2d4
549
c5e54116f79b update version of package lcms
Volker Grabsch <vog@notjusthosting.com>
parents: 544
diff changeset
9 $(PKG)_SUBDIR := lcms-$(subst a,,$($(PKG)_VERSION))
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := lcms-$($(PKG)_VERSION).tar.gz
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.littlecms.com/
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://www.littlecms.com/$($(PKG)_FILE)
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc jpeg tiff zlib
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://www.littlecms.com/downloads.htm' | \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep 'lcms-' | \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*lcms-\([0-9][^>]*\)\.tar.*,\1,p' | \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
637
df78d93f210e wine fix for package lcms (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
23 # wine confuses the cross-compiling detection, so set it explicitly
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
24 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
544
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-shared \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-jpeg \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --with-tiff \
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --with-zlib
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
a669608c71e9 new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 endef