From 368cdde64da437da0224ffd766745c06fb4dc66d Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 23 Apr 2014 03:26:27 -0400 Subject: [PATCH] gd: split the binaries to package gd-tools 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. (From meta-openembedded rev: 846ab65cfed72c1cdba465e51ed40d3a9fb6b690) Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/recipes-support/gd/gd_2.1.0.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-openembedded/meta-oe/recipes-support/gd/gd_2.1.0.bb b/meta-openembedded/meta-oe/recipes-support/gd/gd_2.1.0.bb index a260cd6..d92e639 100644 --- a/meta-openembedded/meta-oe/recipes-support/gd/gd_2.1.0.bb +++ b/meta-openembedded/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" -- 2.7.4