blob: 6e624c5378efef12543d824e39a24d5ed3fa6a26 (
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
|
DESCRIPTION = "Clutter GTK+ integration library"
HOMEPAGE = "http://www.clutter-project.org/"
LICENSE = "LGPLv2.1"
INC_PR = "r1"
DEPENDS = "gtk+ clutter"
require clutter-common.inc
inherit autotools pkgconfig gtk-doc
do_configure_prepend() {
make_all_execs_installable
# Align the examples data location
for i in $(find ${S}/examples -name *.c) ; do
sed -i -e 's:\"redhand.png\":\"${datadir}/${PN}-examples/redhand.png\":g' $i
done
}
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"
|