Mercurial > mxe-octave
annotate src/giflib.mk @ 2853:4cf24236b87b
update package giflib
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Tue, 13 Nov 2012 22:32:12 +0100 |
parents | 4e9d21c0ac50 |
children | 47558e958113 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1466
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := giflib |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
5 $(PKG)_IGNORE := |
2853 | 6 $(PKG)_CHECKSUM := 841da41f2e8c212555453f7af7b5aa60d7ea4be7 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_SUBDIR := giflib-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_FILE := giflib-$($(PKG)_VERSION).tar.bz2 |
2652 | 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/giflib/giflib-5.x/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_DEPS := gcc |
151
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2652 | 13 $(WGET) -q -O- 'http://giflib.git.sourceforge.net/git/gitweb.cgi?p=giflib/giflib;a=tags' | \ |
14 grep '<a class="list name"' | \ | |
15 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ | |
16 grep -v alpha | \ | |
17 grep -v beta | \ | |
18 grep -v rc | \ | |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
19 head -1 |
151
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
2540 | 25 --build="`config.guess`" \ |
26 --prefix='$(PREFIX)/$(TARGET)' \ | |
151
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
1094
a4ae064a6db1
bugfix: open files in binary mode in package giflib (by Dmitry Groshev)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
28 CPPFLAGS='-D_OPEN_BINARY' |
2652 | 29 echo 'all:' > '$(1)/doc/Makefile' |
151
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install |
0f1fe7c7ab35
translated package: giflib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 endef |