summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-14 16:03:17 +0000
committerChris Larson <clarson@kergoth.com>2003-10-14 16:03:17 +0000
commit1bc614ec4a98507f0aa8e3ca7c35d33e60d44c4a (patch)
tree795b38f02e430296f0f30de1b52b4ae185d5b4dc
parent8051288b2a8a5f7d02ef3e3aa14b7305d9598469 (diff)
Put the directfb pkgconfig in the correct place so things can find it, and minor libtool bugfix.
BKrev: 3f8c1e45jO-2MJnbcXjsHjR1Ef-r4Q
-rw-r--r--directfb/directfb-0.9.19.oe3
-rw-r--r--libtool/libtool-cross-1.5.oe31
2 files changed, 33 insertions, 1 deletions
diff --git a/directfb/directfb-0.9.19.oe b/directfb/directfb-0.9.19.oe
index bebb5684d2..cda0885b23 100644
--- a/directfb/directfb-0.9.19.oe
+++ b/directfb/directfb-0.9.19.oe
@@ -22,7 +22,8 @@ do_stage() {
'DESTDIR=${STAGING_DIR}' \
'INTERNALINCLUDEDIR=/target/include/directfb-internal' \
install-internalincludeHEADERS install-includeHEADERS
- cp -f directfb.pc ${STAGING_DIR}/share/
+ install -d ${STAGING_DIR}/share/pkgconfig
+ install -m 0644 directfb.pc ${STAGING_DIR}/share/pkgconfig
}
do_install() {
diff --git a/libtool/libtool-cross-1.5.oe b/libtool/libtool-cross-1.5.oe
index e69de29bb2..748ec7c141 100644
--- a/libtool/libtool-cross-1.5.oe
+++ b/libtool/libtool-cross-1.5.oe
@@ -0,0 +1,31 @@
+include libtool-${PV}.oe
+#inherit cross
+SRC_URI_append = ' file://${FILESDIR}/libdir-la.patch;patch=1 \
+ file://${FILESDIR}/sedvar.patch;patch=1 \
+ file://${FILESDIR}/tag.patch;patch=1 \
+ file://${FILESDIR}/libtoolize-staging.patch;patch=1 \
+ file://${FILESDIR}/prefix.patch;patch=1 \
+ file://${FILESDIR}/chmod.patch;patch=1'
+S = ${WORKDIR}/libtool-${PV}
+FILESDIR = ${TOPDIR}/libtool/libtool-${PV}
+
+prefix=${CROSS_DIR}
+exec_prefix=${prefix}
+
+EXTRA_OECONF_append = " --program-prefix=${TARGET_SYS}-"
+
+do_stage () {
+ oe_runmake install
+ install -d ${STAGING_DIR}/share/{libtool,aclocal}
+ install -m 0755 ${CROSS}libtool ${STAGING_BINDIR}/${CROSS}libtool
+ install -m 0755 libtoolize ${STAGING_BINDIR}/${CROSS}libtoolize
+ install -c config.guess ${STAGING_DIR}/share/libtool/${CROSS}config.guess
+ install -c config.sub ${STAGING_DIR}/share/libtool/${CROSS}config.sub
+ install -c -m 0644 ltmain.sh ${STAGING_DIR}/share/libtool/
+ install -c -m 0644 libtool.m4 ${STAGING_DIR}/share/aclocal/
+ install -c -m 0644 ltdl.m4 ${STAGING_DIR}/share/aclocal/
+}
+
+do_install () {
+ true
+}