summaryrefslogtreecommitdiff
path: root/recipes/clutter/clutter-box2d.inc
blob: 75413356d3b311e0dc37468767ad940945fe4d45 (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
DESCRIPTION = "Clutter Box2D physics engine integration"
HOMEPAGE = "http://www.clutter-project.org/"
LICENSE = "LGPLv2.1"

DEPENDS = "clutter"

INC_PR = "r1"

# The main clutter lib is machine specific so we need to be too
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools pkgconfig gtk-doc

require clutter-common.inc

do_configure_prepend() {
	make_all_execs_installable
}

do_install_append () {
	install -m 755 -d ${D}${datadir}/${PN}-examples
	install -m 755 ${S}/examples/redhand.png ${D}${datadir}/${PN}-examples
}

PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${bindir}/* ${datadir}/${PN}-examples"