#
# Meta-debian
#
DESCRIPTION = "The JasPer JPEG-2000 runtime library"
LICENSE = "Jasper-2.0"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782fcab103fad4ebb2a01d7 \
		    file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc"
SECTION = "graphics"
PR = "r1"

DEPENDS = "libjpeg-turbo"

EXTRA_OECONF += " --enable-shared=yes"

inherit autotools
inherit debian-package

PACKAGES =+ "libjasper "
FILES_libjasper = "${libdir}/libjasper.so.*"

DEBIANNAME_${PN}-dev = "libjasper-dev"
DEBIANNAME_${PN} = "libjasper-runtime"

#
# Meta-debian
#
DESCRIPTION = "The JasPer JPEG-2000 runtime library"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782fcab103fad4ebb2a01d7 \
		    file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc"
SECTION = "graphics"
PR = "r1"

DEPENDS = "libjpeg-turbo"

EXTRA_OECONF += " --enable-shared=yes"

inherit autotools
inherit debian-package

PACKAGES =+ "libjasper "
FILES_libjasper = "${libdir}/libjasper.so.*"

DEBIANNAME_${PN}-dev = "libjasper-dev"
DEBIANNAME_${PN} = "libjasper-runtime"

BBCLASSEXTEND = "native"

Add recipe for native package and correct LICENSE
jasper: Add recipe for native package and correct LICENSE

Signed-off-by: Hoang Trong Nghia <b874396fbdd8843df5170c2f0d7bd61e089f462b@toshiba-tsdv.com>
