Mercurial > mxe-octave
annotate src/jpeg.mk @ 6215:d18a5545df0d release
build-gettext: Don't build emacs bindings.
* src/build-gettext.mk: The `emacs` installed on the build system might be
incompatible with the STL built by build-gcc. We probably don't need the emacs
bindings for the `gettext` build tool anyway. So skip building those bindings.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 07 May 2022 12:01:10 +0200 |
parents | f493109a2ab2 |
children | af7f56fcf348 |
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 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := jpeg |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
5268 | 6 $(PKG)_VERSION := 9d |
7 $(PKG)_CHECKSUM := 0bf0fbc3f6f1b5f7d5ad4734eae8cbb148517d6f | |
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) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
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 |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://www.ijg.org/' | \ |
632
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 \ |
2997 | 21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3098
4c72697bcbc4
[MSVC] enable jpeg compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) && $(CONFIGURE_POST_HOOK) |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3098
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= DESTDIR='$(3)' |
149
38ddc0df2497
translated package: jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 endef |