Build MeeGO Non-Qt Application

From Wikidb

Jump to: navigation, search

Build !MeeGo Non-QT Application

Prerequisites:

Steps to build a !MeeGo Non-QT Application:

#Create simple hello world cpp application
$ mad -t meego-netbook-ia32-1.1 pscreate -t simple hello

$ cd hello

#Build application using meego target
$ mad -t meego-netbook-ia32-1.1 make -w

Name:           hello
Version:        0.0.1
Release:        1
License:        <insert license tag>
Summary:        <insert summary tag>
Url:            <insert url tag>
Group:          <insert group tag>
Source0:        %{name}-%{version}.tar.gz 

%description
C++ Hello Application

%prep
%setup -q

%build
make

%install
make install INSTALL_ROOT=%{buildroot}

%files
%defattr(-,root,root,-)
%{_prefix}/*
$mad -t meego-netbook-ia32-1.1 rrpmbuild -bb hello.spec

NOTE: The mad can be difficult to execute, to be free of this problem you can start the sysroot using the mic-chroot and run all commands directly. For more details, go to http://wiki.meego.com/Image_Creation#Running_mic-chroot]

Personal tools
Namespaces
Variants
Actions
Navigation
Streams
Communication
Toolbox