summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-07-03 02:59:04 +0000
committerChris Larson <clarson@kergoth.com>2004-07-03 02:59:04 +0000
commit1fc25a9726baf09f1f1e1c2bafc9b6c38eb2ae84 (patch)
tree8a5d204fa8e1bf1f10739d80b7cda7ae64ddd7fa
parent0fbc9c58d2f4e8d28c6972c7d8ce1e51c7ae1d28 (diff)
Fix libsigc++ staging.
BKrev: 40e620f8SD0KN-lMXc3kaRZL_BlrSA
-rw-r--r--libsigc++/libsigc++-1.2.5/pkgconfig.patch0
-rw-r--r--libsigc++/libsigc++_1.2.5.oe11
2 files changed, 8 insertions, 3 deletions
diff --git a/libsigc++/libsigc++-1.2.5/pkgconfig.patch b/libsigc++/libsigc++-1.2.5/pkgconfig.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libsigc++/libsigc++-1.2.5/pkgconfig.patch
diff --git a/libsigc++/libsigc++_1.2.5.oe b/libsigc++/libsigc++_1.2.5.oe
index ce78d4610e..0899c2bf38 100644
--- a/libsigc++/libsigc++_1.2.5.oe
+++ b/libsigc++/libsigc++_1.2.5.oe
@@ -4,19 +4,24 @@ PRIORITY = "optional"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/libsigc/libsigc++-${PV}.tar.gz \
- file://autofoo.patch;patch=1"
+ file://autofoo.patch;patch=1 \
+ file://pkgconfig.patch;patch=1"
inherit autotools pkgconfig
+FILES_${PN}-dev += "${libdir}/sigc++-*/"
+
acpaths = ""
do_stage() {
+ install -d ${STAGING_LIBDIR}/sigc++-1.2/include
+ install -m 0644 sigc++/config/sigcconfig.h ${STAGING_LIBDIR}/sigc++-1.2/include/
oe_libinstall -so -C sigc++ libsigc-1.2 ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/sigc++/
+ install -d ${STAGING_INCDIR}/sigc++-1.2/sigc++
for f in sigc++/*.h
do
- install -m 0644 $f ${STAGING_INCDIR}/sigc++/
+ install -m 0644 $f ${STAGING_INCDIR}/sigc++-1.2/sigc++/
done
}