Mercurial > mxe-octave
annotate src/libpng.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | dab071eac9c0 |
children | 88db993299d3 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
634
diff
changeset
|
1 # This file is part of mingw-cross-env. |
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:
409
diff
changeset
|
3 |
148
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # libpng |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
5 PKG := libpng |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
445
diff
changeset
|
6 $(PKG)_IGNORE := |
634
891ee2b83294
update version of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
575
diff
changeset
|
7 $(PKG)_VERSION := 1.4.0 |
891ee2b83294
update version of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
575
diff
changeset
|
8 $(PKG)_CHECKSUM := 886d651394024b5cab7e9cb5afac41b391f1ccd2 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_FILE := libpng-$($(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.libpng.org/ |
634
891ee2b83294
update version of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
575
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libpng/01-libpng-master/$($(PKG)_VERSION)/$($(PKG)_FILE) |
891ee2b83294
update version of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
575
diff
changeset
|
13 $(PKG)_URL_2 := ftp://ftp.simplesystems.org/pub/libpng/png/src/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
14 $(PKG)_DEPS := gcc zlib |
148
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
418
d135c12b6411
updated version recognition of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
17 wget -q -O- 'http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=tags' | \ |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
18 grep '<a class="list name"' | \ |
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
19 $(SED) -n 's,.*<a[^>]*>v\([0-9][^>]*\)<.*,\1,p' | \ |
563
f32c021ce94a
avoid alpha versions of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
538
diff
changeset
|
20 grep -v alpha | \ |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
21 grep -v beta | \ |
538
437dd08f4fa4
avoid rc (release candidate) versions of package libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
449
diff
changeset
|
22 grep -v rc | \ |
148
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 head -1 |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 endef |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 define $(PKG)_BUILD |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 cd '$(1)' && ./configure \ |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --host='$(TARGET)' \ |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-shared \ |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --prefix='$(PREFIX)/$(TARGET)' |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
3a3fd9c5b5c1
translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |