annotate src/jpeg.mk @ 2353:99516e73b368

Move doc/index.html -> index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 12:14:15 +0200
parents f48c5b085a38
children b5321bdec505
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: 2208
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.
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 :=
2208
ddc26046c388 update package jpeg
Mark Brand <mabrand@mabrand.nl>
parents: 1717
diff changeset
7 $(PKG)_CHECKSUM := f080b2fffc7581f7d19b968092ba9ebc234556ff
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := jpeg-$($(PKG)_VERSION)
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
9 $(PKG)_FILE := jpegsrc.v$($(PKG)_VERSION).tar.gz
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
14 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
15 $(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
16 head -1
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
632
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
21 --prefix='$(PREFIX)/$(TARGET)' \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
22 --host='$(TARGET)' \
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
23 --disable-shared
700f5dadfcf5 update version and version recognition of package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 620
diff changeset
24 $(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
25
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
26 '$(TARGET)-gcc' \
1717
eb3e1558bf24 remove repeated option
Mark Brand <mabrand@mabrand.nl>
parents: 1707
diff changeset
27 -W -Wall -Werror -ansi -pedantic \
895
09113bc06d72 add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
28 '$(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
29 -ljpeg
149
38ddc0df2497 translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef