[oe] [meta-oe][PATCH v2] gd: split the binaries to package gd-tools
jackie.huang at windriver.com
jackie.huang at windriver.com
Wed Apr 23 07:26:27 UTC 2014
From: Jackie Huang <jackie.huang at windriver.com>
As most linux distribution do, gd only includes the library,
and split all the command line tools into gd-tools, and add
the perl dependcy since one of the tools is a perl script.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
meta-oe/recipes-support/gd/gd_2.1.0.bb | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
index a260cd6..d92e639 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.0.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -30,3 +30,12 @@ EXTRA_OECONF += " --disable-rpath \
--without-x"
EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
+
+PACKAGES += "${PN}-tools"
+
+FILES_${PN} = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-tools = "${bindir}/*"
+
+PROVIDES += "${PN}-tools"
+RPROVIDES_${PN}-tools = "${PN}-tools"
+RDEPENDS_${PN}-tools = "perl perl-module-strict"
--
1.7.9.5
More information about the Openembedded-devel
mailing list