Build and install libltdl (finally hit a build of an app that needs it).
authorChris Larson <clarson@kergoth.com>
Fri, 24 Oct 2003 21:51:45 +0000 (21:51 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 24 Oct 2003 21:51:45 +0000 (21:51 +0000)
BKrev: 3f999ef1FWtuQXqjGSMkDQ2ipWAxMA

libtool/libtool-cross_1.5.oe
libtool/libtool_1.5.oe

index ac8f0ca..465860d 100644 (file)
@@ -24,6 +24,13 @@ do_stage () {
        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
+       install -m 0755 libltdl/.libs/libltdl.so.3.1.0 ${STAGING_LIBDIR}/
+       ln -sf libltdl.so.3.1.0 ${STAGING_LIBDIR}/libltdl.so.3
+       ln -sf libltdl.so.3.1.0 ${STAGING_LIBDIR}/libltdl.so
+       install -m 0644 libltdl/ltdl.h ${STAGING_DIR}/target/include/
 }
 
 do_install () {
index e69de29..e47a1ff 100644 (file)
@@ -0,0 +1,18 @@
+DESCRIPTION = Generic library support script\
+ This is GNU libtool, a generic library support script.  Libtool hides\
+ the complexity of generating special library types (such as shared\
+ libraries) behind a consistent interface.  To use libtool, add the\
+ new generic library building commands to your Makefile, Makefile.in,\
+ or Makefile.am.  See the documentation for details.  Libtool supports\
+ building static libraries on all platforms.\
+ Libtool supports generation of C, C++ and Java libraries.
+
+SRC_URI = http://ftp.club.cc.cmu.edu/pub/gnu/libtool/libtool-1.5.tar.gz
+S = "${WORKDIR}/${P}"
+
+inherit autotools
+
+#EXTRA_OECONF = --disable-ltdl-install
+do_configure_prepend () {
+       ./bootstrap
+}