summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerich@mine.nu <erich@mine.nu>2004-03-31 22:53:17 +0000
committererich@mine.nu <erich@mine.nu>2004-03-31 22:53:17 +0000
commit54c8bdf82ab5b494b0c07e13b286a21c5cf1aa2e (patch)
tree8ce64593a35bc023245097488c9b2924055a856c
parentc2e91ea1a6bb971b3135c53ab8b1d32e3baf8a7b (diff)
add all patched from libtool-cross to libtool-native
BKrev: 406b4bddiRLSwy9eGWutBd6K08IyZQ
-rw-r--r--libtool/libtool-native_1.5.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/libtool/libtool-native_1.5.oe b/libtool/libtool-native_1.5.oe
index e69de29bb2..ce694ac652 100644
--- a/libtool/libtool-native_1.5.oe
+++ b/libtool/libtool-native_1.5.oe
@@ -0,0 +1,37 @@
+include libtool_${PV}.oe
+inherit native
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/libtool-${PV}"
+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}"
+
+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 ${HOST_SYS}-libtool ${STAGING_BINDIR}/${HOST_SYS}-libtool
+ install -m 0755 libtoolize ${STAGING_BINDIR}/${HOST_SYS}-libtoolize
+ install -c config.guess ${STAGING_DIR}/share/libtool/config.guess
+ install -c config.sub ${STAGING_DIR}/share/libtool/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/
+
+ install -m 0644 libltdl/.libs/libltdl.a ${STAGING_LIBDIR}/
+ install -m 0644 libltdl/.libs/libltdl.lai ${STAGING_LIBDIR}/libltdl.la
+ oe_soinstall libltdl/.libs/libltdl.so.3.1.0 ${STAGING_LIBDIR}/
+ install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
+}
+
+do_install () {
+ :
+}