Mercurial > mxe-octave
annotate src/lcms.mk @ 1499:9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 12 Dec 2010 01:16:13 +0100 |
parents | 4665dcb71cd5 |
children | 94df9b4e71ae |
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 := |
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)_VERSION := 2.1 |
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
|
8 $(PKG)_CHECKSUM := 0ce856a004068ff6e22f9f2d7b94a11b9b469bf9 |
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
|
9 $(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
|
10 $(PKG)_FILE := $(PKG)$(word 1,$(subst ., ,$($(PKG)_VERSION)))-$(subst a,,$($(PKG)_VERSION)).tar.gz |
544
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.littlecms.com/ |
974
983f7cf55e69
update version and version recognition of package lcms
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(subst a,,$($(PKG)_VERSION))/$($(PKG)_FILE) |
544
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 |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
974
diff
changeset
|
16 wget -q -O- 'http://sourceforge.net/projects/lcms/files/lcms/' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
974
diff
changeset
|
17 $(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
|
18 head -1 |
544
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
637
df78d93f210e
wine fix for package lcms (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
569
diff
changeset
|
22 # 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
|
23 $(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
|
24 cd '$(1)' && ./configure \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --prefix='$(PREFIX)/$(TARGET)' \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --host='$(TARGET)' \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --with-jpeg \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --with-tiff \ |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --with-zlib |
a669608c71e9
new package: lcms (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(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
|
32 endef |