summaryrefslogtreecommitdiffstats
path: root/meta/packages/helix/ribosome.bb
blob: 3cea6f6755fb9af5329e3d7e9d7a4cd8f1d57ce6 (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
40
41
42
43
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"
PR = "r1"

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_install() {
	# Install build system of doom
	install -d ${D}${libdir}
	cp -a ribosome-${_SNAPSHOT} ${D}${libdir}/ribosome
	install -m 0644 ribosome/buildrc ${D}${libdir}/ribosome/

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

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

	# Install our own custom BIF
	install -m 0644 ribosome/*.bif ${D}${libdir}/ribosome/bif-cvs/helix/client/build/BIF/
	
	# The [ and ] characters break packaging, remove for now
	rm -rf ${D}${libdir}/ribosome/test/data/utils/[client-restricted]
}