X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fopenjpeg%2Fopenjpeg.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fopenjpeg%2Fopenjpeg.mk;h=c613ba817e82736b6500984136ba2faa58032d99;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/openjpeg/openjpeg.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/openjpeg/openjpeg.mk new file mode 100644 index 0000000..c613ba8 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/openjpeg/openjpeg.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# openjpeg +# +################################################################################ + +OPENJPEG_VERSION = 1.5.2 +OPENJPEG_SITE = http://downloads.sourceforge.net/project/openjpeg.mirror/$(OPENJPEG_VERSION) +OPENJPEG_LICENSE = BSD-2c +OPENJPEG_LICENSE_FILES = LICENSE +# tarball does not contain the generated files +OPENJPEG_AUTORECONF = YES +OPENJPEG_INSTALL_STAGING = YES +OPENJPEG_DEPENDENCIES = host-pkgconf +OPENJPEG_CONF_OPTS = --disable-lcms1 + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +OPENJPEG_DEPENDENCIES += libpng +OPENJPEG_CONF_OPTS += --enable-png +else +OPENJPEG_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +OPENJPEG_DEPENDENCIES += tiff +OPENJPEG_CONF_OPTS += --enable-tiff +else +OPENJPEG_CONF_OPTS += --disable-tiff +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +OPENJPEG_DEPENDENCIES += lcms2 +OPENJPEG_CONF_OPTS += --enable-lcms2 +else +OPENJPEG_CONF_OPTS += --disable-lcms2 +endif + +$(eval $(autotools-package))