Mercurial > mxe-octave
annotate src/proj.mk @ 6540:ff8c281debae
LLVM: Update to version 15.0.5.
* src/llvm.mk: Update version and checksum. Download and extract tarball with
cmake files. Disable building benchmarks. Use two spaces for indentation.
Adjust for library name containing version suffix now.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 20 Nov 2022 15:04:15 +0100 |
parents | e1148bca3de4 |
children | f55d5eacafab |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2326
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:
306
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := proj |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
420
diff
changeset
|
5 $(PKG)_IGNORE := |
5932
e1148bca3de4
* src/proj.mk: update to v8.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5646
diff
changeset
|
6 $(PKG)_VERSION := 8.1.1 |
e1148bca3de4
* src/proj.mk: update to v8.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5646
diff
changeset
|
7 $(PKG)_CHECKSUM := 69f11aad0b434cf7171a96889ad699817a5b8407 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_SUBDIR := proj-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_FILE := proj-$($(PKG)_VERSION).tar.gz |
1456
c92395bc3a88
fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
966
diff
changeset
|
10 $(PKG)_URL := http://download.osgeo.org/proj/$($(PKG)_FILE) |
c92395bc3a88
fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
966
diff
changeset
|
11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/proj/$($(PKG)_FILE) |
5425
7ba6499a66d4
Proj requires the sqlite binary, tiff and curl libs
John Donoghue <john.donoghue@ieee.org>
parents:
5394
diff
changeset
|
12 $(PKG)_DEPS := curl sqlite tiff |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
5092 | 15 $(WGET) -q -O- 'http://proj.org/download.html' | \ |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 $(SED) -n 's,.*proj-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
3155
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
21 if [ $(MXE_SYSTEM) = msvc ]; then \ |
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
22 mkdir '$(1)/m4'; \ |
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
23 cd '$(1)' && autoreconf -f -i -v; \ |
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 fi |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
27 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
28 --prefix='$(HOST_PREFIX)' \ |
3155
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
29 --with-mutex \ |
43449ab99ea2
[MSVC] enable PROJ compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
30 && $(CONFIGURE_POST_HOOK) |
966
409e4ebc0164
build the command line tools of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
929
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' |
2326
d099cb3962a2
package proj: remove unnecessary patch
Mark Brand <mabrand@mabrand.nl>
parents:
2317
diff
changeset
|
32 # remove header which is not installed since 4.8.0 |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
33 rm -f '$(HOST_INCDIR)/projects.h' |
966
409e4ebc0164
build the command line tools of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
929
diff
changeset
|
34 $(MAKE) -C '$(1)' -j 1 install |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 endef |