Skip to contentSkip to conversation

gd: split the binaries to package gd-tools

PATCH New [email protected] 1 participant 1 message Apr 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gd: split the binaries to package gd-tools

From: Jackie Huang <[email protected]>

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.

---
 meta-oe/recipes-support/gd/gd_2.1.0.bb |    9 +++++++++
 1 file changed, 9 insertions(+)
meta-oe/recipes-support/gd/gd_2.1.0.bb +9 -0
index a260cd6..d92e639 100644
@@ -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"
Signature · 1 line
1.7.9.5