From 9b96af402f8ed256c5db1e8c48da6c1d5f5f92d8 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Fri, 29 Aug 2014 15:30:03 +0200
Subject: yocto: add autotools hello world example

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 .../yocto-advanced/pres_yocto-advanced.tex         | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)

(limited to 'distribution/yocto-advanced/pres_yocto-advanced.tex')

diff --git a/distribution/yocto-advanced/pres_yocto-advanced.tex b/distribution/yocto-advanced/pres_yocto-advanced.tex
index faa513d..56ea3d4 100644
--- a/distribution/yocto-advanced/pres_yocto-advanced.tex
+++ b/distribution/yocto-advanced/pres_yocto-advanced.tex
@@ -650,6 +650,8 @@ PREFERRED\_VERSION\_virtual/kernel = "3.16"
 	\item look for a similar recipe
 	\item proper bbclass available?
 \end{itemize}
+on the next slides, we have a look what is useful for very simple applications,
+autotools and cmake based projects and qt applications.
 \end{frame}
 
 \begin{frame}[fragile]
@@ -688,6 +690,34 @@ do_install() {
 \end{verbatim}
 \end{frame}
 
+\begin{frame}[fragile]
+\frametitle{autools based project}
+\begin{verbatim}
+├── autohello_1.0.bb
+└── files
+    └── autohello-1.0.tar.gz
+\end{verbatim}
+\pause
+\begin{verbatim}
+DESCRIPTION = "GNU Helloworld application"
+SECTION = "examples"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+PR = "r0"
+
+SRC_URI = "file://autohello-${PV}.tar.gz"
+SRC_URI[md5sum] = "4bfc9bed4d5d67a266d93e99e5883211"
+inherit autotools
+\end{verbatim}
+\end{frame}
+
+\begin{frame}
+\frametitle{cmake based project}
+\end{frame}
+
+\begin{frame}
+\frametitle{qt application}
+\end{frame}
 
 \begin{frame}
 \frametitle{use PR Service}
-- 
cgit v1.2.3

