summaryrefslogtreecommitdiff
path: root/meta/packages/helix/ribosome.bb
blob: 840fc855eb18d5311c760f2e2a8b47f3083ac87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
DESCRIPTION = "Ribosome: HelixCommunity Build System"
SECTION = "base"
HOMEPAGE = "http://helixcommunity.org"
LICENSE = "GPLv2"

_SNAPSHOT = "22102008"
_TARBALL_SERVER = "http://git.moblin.org/repos/users/rusty"

PV="r0"

SRC_URI = "${_TARBALL_SERVER}/ribosome-${_SNAPSHOT}.tar.bz2 \
           ${_TARBALL_SERVER}/client-bif-${_SNAPSHOT}.tar.bz2 \
           ${_TARBALL_SERVER}/common-bif-${_SNAPSHOT}.tar.bz2 \
           file://ribosome/clutter.bif \
	   file://ribosome/buildrc"

S = "${WORKDIR}"

COMPATIBLE_HOST = '(i.86.*-linux)'

do_stage() {
	# Install build system of doom
	install -d ${STAGING_DIR_HOST}${libdir}
	cp -a ribosome-${_SNAPSHOT} ${STAGING_DIR_HOST}${libdir}/ribosome
	install -m 0644 ribosome/buildrc ${STAGING_DIR_HOST}${libdir}/ribosome/

	# Install client BIF's
	install -d ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF
	install -m 0644 client-bif-${_SNAPSHOT}/*.bif \
           ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF

	# Install common BIF's
	install -d ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/common/build/BIF
	install -m 0644 common-bif-${_SNAPSHOT}/*.bif \
           ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/common/build/BIF

	# Install our own custom BIF
	install -m 0644 ribosome/*.bif ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF/
}