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.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang
2014-04-23 03:26:27 -04:00
committed by Martin Jansa
parent 2112e618f2
commit 846ab65cfe
+9
View File
@@ -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"