summaryrefslogtreecommitdiff
path: root/recipes/libsigcx/libsigcx0_0.6.4.bb
blob: 1f070fc1d71ffd882fef1f5f3046090f72ae99b1 (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
DESCRIPTION = "Additional features for libsigc++, with a focus on multi-threading."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "libsigc++-1.2"
PR = "r0"

SRC_URI = "${SOURCEFORGE_MIRROR}/libsigcx/libsigcx-${PV}.tar.gz \
  file://libsigcx-0.6.4-add-missing-autogen-sh-swb.patch;patch=1 \
  file://libsigcx-0.6.4-build-swb.patch;patch=1 \
  file://libsigcx-0.6.4-fix-ac-try-run-swb.patch;patch=1 \
  file://libsigcx-200505061-fix-dist-swb.patch;patch=1 \
  file://libsigcx-0.6.4-pack-predeclare-swb.patch;patch=1 \
  file://autotool-regen.patch;patch=1"
S = "${WORKDIR}/libsigcx-${PV}"

inherit autotools pkgconfig

acpaths = ""

do_stage() {
	install -d ${STAGING_LIBDIR}/sigcx-0.6/include
	install -m 0644 sigcxconfig.h ${STAGING_LIBDIR}/sigcx-0.6/include/sigcxconfig.h
	oe_libinstall -so -C sigcx libsigcx-0.6 ${STAGING_LIBDIR}

	install -d ${STAGING_INCDIR}/sigcx-0.6/sigcx
	for f in sigcx/*.h
	do
		install -m 0644 $f ${STAGING_INCDIR}/sigcx-0.6/sigcx/
	done
}

FILES_${PN}-dev += "${libdir}/sigcx-*/"