You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# libpng
|
|
|
|
|
|
|
|
PKG := libpng
|
|
|
|
$(PKG)_VERSION := 1.2.35
|
|
|
|
$(PKG)_CHECKSUM := aad4faf21a1fc5853a55a2ff51351707bde3f6ac
|
|
|
|
$(PKG)_SUBDIR := libpng-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.bz2
|
|
|
|
$(PKG)_WEBSITE := http://www.libpng.org/
|
|
|
|
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/libpng/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc zlib
|
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
|
|
|
wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=5624' | \
|
|
|
|
grep 'package_id=5683&release_id=' | \
|
|
|
|
$(SED) -n 's,.*>\([0-9][^<]*\)<.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
--host='$(TARGET)' \
|
|
|
|
--disable-shared \
|
|
|
|
--prefix='$(PREFIX)/$(TARGET)'
|
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
|
|
endef
|