annotate src/libpng.mk @ 409:35d26f6b0855

update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 10 Aug 2009 13:33:49 +0200
parents 413750a629be
children d2a6561bcb6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
148
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # libpng
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
3 PKG := libpng
409
35d26f6b0855 update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
4 $(PKG)_VERSION := 1.2.39rc01
35d26f6b0855 update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
5 $(PKG)_CHECKSUM := 09749931ab6bdef7d392efd76813406a95708432
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_WEBSITE := http://www.libpng.org/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/libpng/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc zlib
148
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
13 wget -q -O- 'http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng;a=tags' | \
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
14 grep '<a class="list name"' | \
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
15 $(SED) -n 's,.*<a[^>]*>v\([0-9][^>]*\)<.*,\1,p' | \
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
16 grep -v beta | \
148
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)'
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
3a3fd9c5b5c1 translated package: libpng
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef