[oe-commits] Ulf Samuelsson : Build fbv WITH jpeg and bmp

git version control git at git.openembedded.org
Sat Aug 22 14:56:02 UTC 2009


Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: ab4bbd317579a16f28a8ba5ec3ee8c019e2ce688
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ab4bbd317579a16f28a8ba5ec3ee8c019e2ce688

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Thu Aug 20 07:55:16 2009 +0200

Build fbv WITH jpeg and bmp

---

 recipes/fbv/fbv_1.0b.bb |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/recipes/fbv/fbv_1.0b.bb b/recipes/fbv/fbv_1.0b.bb
index f188028..012231e 100644
--- a/recipes/fbv/fbv_1.0b.bb
+++ b/recipes/fbv/fbv_1.0b.bb
@@ -1,15 +1,22 @@
 DESCRIPTION = "Frame Buffer Viewer"
 LICENSE = "GPL"
-RDEPENDS = "libpng libjpeg"
+RDEPENDS = "libpng jpeg"
 PR = "r1"
 
 SRC_URI = "http://s-tech.elsat.net.pl/fbv/fbv-1.0b.tar.gz \
 	   file://cross_compile.patch;patch=1"
 
-#do_compile() {
-#	oe_runmake CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" \
-#		CC="${CC}"
-#}
+#inherit autotools
+
+do_configure() {
+	CC="${CC}" ./configure	--without-libungif	
+}
+
+do_compile() {
+	oe_runmake CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" \
+		CC="${CC}"
+}
+
 do_install() {
 	install -d ${D}${bindir}
         install -m 0755 fbv ${D}${bindir}
@@ -18,3 +25,6 @@ do_install() {
 #        install -d ${D}${mandir}/man1/
 #        install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1
 }
+
+PACKAGES="fbv"
+





More information about the Openembedded-commits mailing list