Fix libsigc++ staging.
authorChris Larson <clarson@kergoth.com>
Sat, 3 Jul 2004 02:59:04 +0000 (02:59 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 3 Jul 2004 02:59:04 +0000 (02:59 +0000)
BKrev: 40e620f8SD0KN-lMXc3kaRZL_BlrSA

libsigc++/libsigc++-1.2.5/pkgconfig.patch [new file with mode: 0644]
libsigc++/libsigc++_1.2.5.oe

diff --git a/libsigc++/libsigc++-1.2.5/pkgconfig.patch b/libsigc++/libsigc++-1.2.5/pkgconfig.patch
new file mode 100644 (file)
index 0000000..e69de29
index ce78d46..0899c2b 100644 (file)
@@ -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
 }