2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-13 23:58:11 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# libjpeg
|
2012-12-13 23:58:11 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-13 23:58:11 +01:00
|
|
|
|
2020-01-22 20:11:30 +01:00
|
|
|
LIBJPEG_VERSION = 9d
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBJPEG_SITE = http://www.ijg.org/files
|
2012-12-13 23:58:11 +01:00
|
|
|
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
|
2018-05-31 19:02:12 +02:00
|
|
|
LIBJPEG_LICENSE = IJG
|
2014-05-07 14:27:50 +02:00
|
|
|
LIBJPEG_LICENSE_FILES = README
|
2012-12-13 23:58:11 +01:00
|
|
|
LIBJPEG_INSTALL_STAGING = YES
|
2021-01-21 14:36:52 +01:00
|
|
|
LIBJPEG_CPE_ID_VENDOR = ijg
|
2016-09-04 00:58:42 +02:00
|
|
|
LIBJPEG_PROVIDES = jpeg
|
2012-12-13 23:58:11 +01:00
|
|
|
|
|
|
|
define LIBJPEG_REMOVE_USELESS_TOOLS
|
2014-02-11 03:07:14 +01:00
|
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom)
|
2012-12-13 23:58:11 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS
|
|
|
|
|
2017-10-23 15:17:43 +02:00
|
|
|
define LIBJPEG_INSTALL_STAGING_PC
|
|
|
|
$(INSTALL) -D -m 0644 package/libjpeg/libjpeg.pc.in \
|
|
|
|
$(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc
|
|
|
|
version=`sed -e '/^PACKAGE_VERSION/!d;s/PACKAGE_VERSION = \(.*\)/\1/' $(@D)/Makefile` ; \
|
|
|
|
$(SED) "s/@PACKAGE_VERSION@/$${version}/" $(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc
|
|
|
|
endef
|
|
|
|
|
|
|
|
LIBJPEG_POST_INSTALL_STAGING_HOOKS += LIBJPEG_INSTALL_STAGING_PC
|
|
|
|
|
2012-12-13 23:58:11 +01:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|