diff options
author | Rusty Lynch <rusty.lynch@intel.com> | 2008-10-22 04:21:53 -0700 |
---|---|---|
committer | Rusty Lynch <rusty.lynch@intel.com> | 2008-10-22 04:21:53 -0700 |
commit | ca7fa46814bb7386c74e32c1f452aa8fb0906d67 (patch) | |
tree | 25350b020aa7c5578855a285c6b0a811937f9e68 /meta/packages/helix/helix-libs.bb | |
parent | 06db259785557c31b2d07a3e5e181eb052e47754 (diff) | |
download | openembedded-core-ca7fa46814bb7386c74e32c1f452aa8fb0906d67.tar.gz openembedded-core-ca7fa46814bb7386c74e32c1f452aa8fb0906d67.tar.bz2 openembedded-core-ca7fa46814bb7386c74e32c1f452aa8fb0906d67.zip |
* Adding initial ribosome (helix build system) and helix-libs recipes
Diffstat (limited to 'meta/packages/helix/helix-libs.bb')
-rw-r--r-- | meta/packages/helix/helix-libs.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/packages/helix/helix-libs.bb b/meta/packages/helix/helix-libs.bb new file mode 100644 index 0000000000..83c9d8139c --- /dev/null +++ b/meta/packages/helix/helix-libs.bb @@ -0,0 +1,59 @@ +DESCRIPTION = "Helix Client Libraries" +SECTION = "base" +DEPENDS = "ribosome gtk+ libxv" +HOMEPAGE = "http://helixcommunity.org" +LICENSE = "RPSL" + +_SNAPSHOT = "atlas310_11212008" +_TARBALL_SERVER = "http://git.moblin.org/repos/users/rusty" + +PV="r0" + +SRC_URI = "${_TARBALL_SERVER}/helix-libs_${_SNAPSHOT}.tar.bz2 \ + file://helix-libs/helix-player.pc \ + file://helix-libs/add-clutter.patch;patch=1" +S = "${WORKDIR}/helix-libs_${_SNAPSHOT}" + +export BUILD_ROOT=${STAGING_DIR_HOST}${libdir}/ribosome +export BUILDRC=${BUILD_ROOT}/buildrc +export SYSTEM_ID=linux-2.2-libc6-gcc32-i586 +export BUILD=$BUILD_ROOT/bin/build.py + +do_compile() { + ${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter +} + +do_stage() { + mkdir -p ${STAGING_DIR_HOST}/opt/helix/lib + mkdir -p ${STAGING_DIR_HOST}/opt/helix/include + mkdir -p ${STAGING_DIR_HOST}/usr/lib/pkgconfig + + install -m 0644 clientapps/clutter/player.h \ + ${STAGING_DIR_HOST}/opt/helix/include + install -m 0644 ../helix-libs/helix-player.pc \ + ${STAGING_DIR_HOST}/usr/lib/pkgconfig + + install -m 0644 release/*.so ${STAGING_DIR_HOST}/opt/helix/lib + + install -d ${STAGING_DIR_HOST}${libdir} + install -m 0644 release/libhelix-player.so ${STAGING_DIR_HOST}${libdir} +} + +do_install() { + mkdir -p ${D}/opt/helix/lib + mkdir -p ${D}/opt/helix/include + mkdir -p ${D}/usr/lib/pkgconfig + + install -m 0644 clientapps/clutter/player.h ${D}/opt/helix/include/ + install -m 0644 ../helix-libs/helix-player.pc ${D}/usr/lib/pkgconfig + + install -m 0644 release/*.so ${D}/opt/helix/lib + + install -d ${D}${libdir} + install -m 0644 release/libhelix-player.so ${D}${libdir} +} + +FILES_${PN} = "/usr/lib/libhelix-player.so" +FILES_${PN} += "/opt/helix/lib" +FILES_${PN}-dev = "/usr/lib/pkgconfig" +FILES_${PN}-dev += "/opt/helix/include" |