annotate src/jpeg.mk @ 896:5e1d76c5caf9

cleanup of the "boolean" and "INT32" fixes for package jpeg
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 21 Apr 2010 13:42:44 +0200
parents 09113bc06d72
children 464f5f2cba21
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 632
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 324
diff changeset
3
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # jpeg
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := jpeg
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
882
8a6bc74b0d2f upgrade packages: curl jpeg libxml2 ogg taglib vorbis zziplib
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
7 $(PKG)_VERSION := 8a
8a6bc74b0d2f upgrade packages: curl jpeg libxml2 ogg taglib vorbis zziplib
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
8 $(PKG)_CHECKSUM := 78077fb22f0b526a506c21199fbca941d5c671a9
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := jpeg-$($(PKG)_VERSION)
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
10 $(PKG)_FILE := jpegsrc.v$($(PKG)_VERSION).tar.gz
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://www.ijg.org/
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
12 $(PKG)_URL := http://www.ijg.org/files/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
16 wget -q -O- 'http://www.ijg.org/' | \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
17 $(SED) -n 's,.*jpegsrc\.v\([0-9][^>]*\)\.tar.*,\1,p' | \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
18 head -1
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
24 --host='$(TARGET)' \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
25 --disable-shared
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
895
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
27
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
28 '$(TARGET)-gcc' \
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
29 -W -Wall -Werror -ansi -pedantic \
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
30 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-jpeg.exe' \
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
31 -ljpeg
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef