[OE-core] [PATCH 1/2] libassuan: use package specific licensing

Andre McCurdy armccurdy at gmail.com
Fri Apr 1 05:00:58 UTC 2016


 - The main libassuan.so library is LGPLv2.1+
 - Test apps (in tests sub directory) and documentation are GPLv3+
 - Windows CE specific binaries (gpgcedev.dll and gpgcemgr) are GPLv3+

When building the current OE recipe, the test apps are compiled but
not installed. The Windows CE specific binaries are not compiled.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-support/libassuan/libassuan_2.4.2.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libassuan/libassuan_2.4.2.bb b/meta/recipes-support/libassuan/libassuan_2.4.2.bb
index 57eab38..f376d63 100644
--- a/meta/recipes-support/libassuan/libassuan_2.4.2.bb
+++ b/meta/recipes-support/libassuan/libassuan_2.4.2.bb
@@ -2,7 +2,9 @@ SUMMARY = "IPC library used by GnuPG and GPGME"
 HOMEPAGE = "http://www.gnupg.org/related_software/libassuan/"
 BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 
-LICENSE = "GPLv3 & LGPLv2.1+"
+LICENSE = "GPLv3+ & LGPLv2.1+"
+LICENSE_${PN} = "LGPLv2.1+"
+LICENSE_${PN}-doc = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
                     file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                     file://src/assuan.c;endline=20;md5=0f465544183405055ec179869fc5b5ba \
@@ -21,7 +23,7 @@ BINCONFIG = "${bindir}/libassuan-config"
 inherit autotools texinfo binconfig-disabled pkgconfig
 
 do_configure_prepend () {
-	# Else these could be used in prefernce to those in aclocal-copy
+	# Else these could be used in preference to those in aclocal-copy
 	rm -f ${S}/m4/*.m4
 }
 
-- 
1.9.1




More information about the Openembedded-core mailing list