Mercurial > mxe-octave
annotate src/zziplib.mk @ 3956:125325a2a2c4
nsis-installer: delete remaining files in reboot
* makeinst-script.mk: on errors removing files, prompt to delete files on reboot.
author | John D |
---|---|
date | Mon, 01 Jun 2015 21:25:04 -0400 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1850
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. |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := zziplib |
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 0.13.59 |
882
8a6bc74b0d2f
upgrade packages: curl jpeg libxml2 ogg taglib vorbis zziplib
Mark Brand <mabrand@mabrand.nl>
parents:
714
diff
changeset
|
7 $(PKG)_CHECKSUM := ddbce25cb36c3b4c2b892e2c8a88fa4a0be29a71 |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1073
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1073
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(word 2,$(subst ., ,$($(PKG)_VERSION)))/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := zlib |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
0c097fc19e9a
new package: zziplib (by Gregory Smith)
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://sourceforge.net/projects/zziplib/files/' | \ |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*zziplib-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1073
diff
changeset
|
16 head -1 |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
1850
8a38c4a5b1ea
disable docs in package zziplib as those cause trouble on Mac OS X
Volker Grabsch <vog@notjusthosting.com>
parents:
1499
diff
changeset
|
20 # don't build and install docs |
8a38c4a5b1ea
disable docs in package zziplib as those cause trouble on Mac OS X
Volker Grabsch <vog@notjusthosting.com>
parents:
1499
diff
changeset
|
21 (echo '# DISABLED'; echo 'all:'; echo 'install:') > '$(1)/docs/Makefile.in' |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
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) \ |
951
1a84ed8b1d95
don't use mmap in package zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
882
diff
changeset
|
24 --disable-mmap \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
25 $(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
|
26 --prefix='$(HOST_PREFIX)' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
27 PKG_CONFIG='$(MXE_PKG_CONFIG)' |
1026
9fe5e2490936
parallelization bugfix for package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents:
951
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
9fe5e2490936
parallelization bugfix for package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents:
951
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
599
0c097fc19e9a
new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 endef |