Mercurial > mxe-octave
annotate src/zlib.mk @ 641:dab071eac9c0
simplified file markers
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 16 Jan 2010 23:02:02 +0100 |
parents | e9afec55fd6b |
children | 29f1ba4559ae |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
2 # See doc/index.html or doc/README 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 := |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_VERSION := 1.2.3 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_CHECKSUM := 967e280f284d02284b0cd8872a8e2e04bfdc7283 |
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 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.zlib.net/ |
422
d2f5eb27e051
improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libpng/zlib/$($(PKG)_VERSION)/$($(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 |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libpng/files/zlib/) | \ |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 $(SED) -n 's,.*zlib-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
18 tail -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 |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
127
diff
changeset
|
22 cd '$(1)' && CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' ./configure \ |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --prefix='$(PREFIX)/$(TARGET)' |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
127
diff
changeset
|
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
127
364cf286d1ee
translated package: zlib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |