summaryrefslogtreecommitdiff
path: root/recipes/libtool/libtool_2.2.6a.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libtool/libtool_2.2.6a.bb')
-rw-r--r--recipes/libtool/libtool_2.2.6a.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/libtool/libtool_2.2.6a.bb b/recipes/libtool/libtool_2.2.6a.bb
new file mode 100644
index 0000000000..9ecd7a0f3b
--- /dev/null
+++ b/recipes/libtool/libtool_2.2.6a.bb
@@ -0,0 +1,22 @@
+require libtool.inc
+PR = "r0"
+
+SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz"
+S = "${WORKDIR}/${BPN}-2.2.6"
+
+PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
+FILES_${PN} += "${datadir}/aclocal*"
+FILES_libltdl = "${libdir}/libltdl.so.*"
+FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
+FILES_libltdl-dbg = "${libdir}/.debug/"
+
+inherit autotools
+
+EXTRA_AUTORECONF = "--exclude=libtoolize"
+
+do_stage () {
+ install -d ${STAGING_INCDIR}/libltdl
+ install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
+ install -m 0644 libltdl/libltdl/*.h ${STAGING_INCDIR}/libltdl/
+ oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
+}