initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32 jpegsrc.v9d.tar.gz
|
||||
sha256 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c README
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libjpeg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBJPEG_VERSION = 9d
|
||||
# 9d was released 2020-01-12, but the tarball was replaced upstream circa
|
||||
# 2021-03, causing hash mismatch. Until there is a new version released,
|
||||
# use our cached copy from s.b.o.
|
||||
#LIBJPEG_SITE = http://www.ijg.org/files
|
||||
LIBJPEG_SITE = http://sources.buildroot.org/libjpeg
|
||||
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
|
||||
LIBJPEG_LICENSE = IJG
|
||||
LIBJPEG_LICENSE_FILES = README
|
||||
LIBJPEG_INSTALL_STAGING = YES
|
||||
LIBJPEG_CPE_ID_VENDOR = ijg
|
||||
LIBJPEG_PROVIDES = jpeg
|
||||
|
||||
define LIBJPEG_REMOVE_USELESS_TOOLS
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom)
|
||||
endef
|
||||
|
||||
LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS
|
||||
|
||||
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
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
@@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libjpeg
|
||||
Description: A JPEG codec that provides the libjpeg API
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -ljpeg
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user