bb file for ninja

Jeremy jeremy at openmoko.com
Sun May 4 11:02:23 CEST 2008


Hi, Julian:
    Attached is the bb file for ninja,  etk-theme-ninja_svn.bb
    ninja is an ETK theme project that can be used for union the theme 
of all Etk applications on a device.
   
    etk-theme-ninja_svn.bb can be put at 
openembedded/packages/openmoko-projects/ on OE branch org.openmoko.dev

    You may improve the bb file if there is need.
    If there is any problem, please feel free to let me know.

    Thanks.

Sincerely.
Jeremy Chang
-------------- next part --------------
DESCRIPTION = "Ninja - Etk theme"
HOMEPAGE = "http://ninja.projects.openmoko.org/"
SECTION = "openmoko/misc"
LICENSE = "GPL"
DEPENDS = "edje"

PV = "0.0.1+svnr${SRCREV}"

SRC_URI = "svn://svn.projects.openmoko.org/svnroot/ninja;module=trunk;proto=https"

SRCREV = "${AUTOREV}"

S = "${WORKDIR}/trunk"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"

FILES_${PN} += "${datadir}/ninja/default.edj"

pkg_postinst_etk-theme-ninja () {
#!/bin/sh
if test "x$D" != "x"; then
        exit 1
else
	mkdir -p ~root/.e/etk/themes
	cp ${datadir}/ninja/default.edj ~root/.e/etk/themes/default.edj
fi
}



More information about the openmoko-devel mailing list