blob: 474b2fd95f7215b68e2b97115109656fe9dec4e0 (
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
44
45
46
47
48
49
50
|
DESCRIPTION = "A library for loose coupling of C++ method calls"
SECTION = "libs"
PRIORITY = "optional"
PR = "r1"
LICENSE = "GPL LGPL"
SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-${PV}.tar.gz \
file://define_sigc_api.patch "
S = "${WORKDIR}/libsigc++-${PV}"
inherit autotools pkgconfig
EXTRA_AUTORECONF = "--exclude=autoheader"
FILES_${PN}-dev += "${libdir}/sigc++-*/"
# acpaths = ""
do_stage() {
install -d ${STAGING_LIBDIR}/sigc++-2.0/include
install -m 0644 sigc++config.h ${STAGING_LIBDIR}/sigc++-2.0/include/
oe_libinstall -so -C sigc++ libsigc-2.0 ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++
for f in sigc++/*.h
do
install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/
done
install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/functors
for f in sigc++/functors/*.h
do
install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/functors
done
install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors
for f in sigc++/adaptors/*.h
do
install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors
done
install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors/lambda
for f in sigc++/adaptors/lambda/*.h
do
install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors/lambda
done
}
SRC_URI[md5sum] = "556c5f66c58ef02906e22ab199c35222"
SRC_URI[sha256sum] = "2023cabe7a502232177c9bdca574e3ad97bd81d2a7badbb427f561e1703ae7db"
|