4d3f810aaf
The packages changed by this commit were not only changing prefix= and exec_prefix= during their <foo>-config fixups, they were also changing includedir= and/or libdir=. So, they could not be directly converted to the new <pkg>_CONFIG_SCRIPTS infrastructure. However, a careful analysis of their default <foo>-config shows that includedir= and libdir= is defined relatively to either ${prefix} and ${exec_prefix}. Therefore, the manual fixing of includedir= and libdir= is useless, and fixing prefix= and exec_prefix=, as done by the <pkg>_CONFIG_SCRIPTS mechanism is sufficient. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
632 B
Makefile
19 lines
632 B
Makefile
#############################################################
|
|
#
|
|
# libpng (Portable Network Graphic library)
|
|
#
|
|
#############################################################
|
|
|
|
LIBPNG_VERSION = 1.4.12
|
|
LIBPNG_SERIES = 14
|
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.bz2
|
|
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
|
|
LIBPNG_LICENSE = libpng license
|
|
LIBPNG_LICENSE_FILES = LICENSE
|
|
LIBPNG_INSTALL_STAGING = YES
|
|
LIBPNG_DEPENDENCIES = host-pkgconf zlib
|
|
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|