Mercurial > mxe-octave
annotate src/xz.mk @ 3634:3b4116a23496
of-netcdf: update to 1.0.5
* src/of-netcdf.mk: update version,checksum
* build_packages.m: update netcdf
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 30 Jun 2014 20:34:29 -0400 |
parents | ad720dbb68d9 |
children | c9e54aa12e0e |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1880
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. |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := xz |
1355
e4bf2c273069
remove unneeded "IGNORE" line of package xz
Volker Grabsch <vog@notjusthosting.com>
parents:
1351
diff
changeset
|
5 $(PKG)_IGNORE := |
3490 | 6 $(PKG)_VERSION := 5.0.5 |
7 $(PKG)_CHECKSUM := 26fec2c1e409f736e77a85e4ab314dc74987def0 | |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1016
15d5e7b2d408
upgrade package xz (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
934
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
08caaa435f07
new package: xz (by Martin Lambers)
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://tukaani.org/xz/' | \ |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 head -1 |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2642
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
934
60c8d4c40785
disable threading support explicitly because it doesn't work anyway in package xz
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
24 --disable-threads \ |
696
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-nls |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install |
08caaa435f07
new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 endef |