Mercurial > mxe-octave
annotate src/zlib.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | f3d0fe4cc136 |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2227
diff
changeset
|
1 # This file is part of MXE. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # zlib |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
5 PKG := zlib |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
6 $(PKG)_IGNORE := |
2227 | 7 $(PKG)_VERSION := 1.2.6 |
8 $(PKG)_CHECKSUM := 3d445731e4bfea1cd00f36567d77d6e5f5a19be9 | |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_SUBDIR := zlib-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_FILE := zlib-$($(PKG)_VERSION).tar.bz2 |
878
49ecbb512ff2
improved URLs and version recognition of package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
824
diff
changeset
|
11 $(PKG)_WEBSITE := http://zlib.net/ |
49ecbb512ff2
improved URLs and version recognition of package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
824
diff
changeset
|
12 $(PKG)_URL := http://zlib.net/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
13 $(PKG)_DEPS := gcc |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
878
49ecbb512ff2
improved URLs and version recognition of package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
824
diff
changeset
|
16 wget -q -O- 'http://zlib.net/' | \ |
49ecbb512ff2
improved URLs and version recognition of package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
824
diff
changeset
|
17 $(SED) -n 's,.*zlib-\([0-9][^>]*\)\.tar.*,\1,ip' | \ |
49ecbb512ff2
improved URLs and version recognition of package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
824
diff
changeset
|
18 head -1 |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
879
bdee1b1fe95c
upgrade package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
878
diff
changeset
|
22 cd '$(1)' && CHOST='$(TARGET)' ./configure \ |
824
543d93b57e70
update package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
23 --prefix='$(PREFIX)/$(TARGET)' \ |
543d93b57e70
update package zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
24 --static |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
127
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 endef |