diff options
Diffstat (limited to 'recipes/libtool/libtool_1.5.24.bb')
-rw-r--r-- | recipes/libtool/libtool_1.5.24.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/libtool/libtool_1.5.24.bb b/recipes/libtool/libtool_1.5.24.bb new file mode 100644 index 0000000000..7bdad1bed4 --- /dev/null +++ b/recipes/libtool/libtool_1.5.24.bb @@ -0,0 +1,32 @@ +DEFAULT_PREFERENCE = "-1" + +require libtool.inc +PR = "r1" + +SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \ + file://autotools.patch;patch=1 \ + file://uclibc.patch;patch=1 \ + file://never-ever-do-rpath.patch;patch=1" + +S = "${WORKDIR}/libtool-${PV}" + +PACKAGES = "${PN}-dbg libltdl libltdl-dev ${PN}" +FILES_${PN} += "${datadir}/aclocal*" +FILES_libltdl = "${libdir}/libltdl.so.*" +FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h" + +inherit autotools + +EXTRA_AUTORECONF = "--exclude=libtoolize" + +do_configure () { + find ${S} -name acinclude.m4 | for m4 in `cat`; do + cat ${S}/libtool.m4 ${S}/ltdl.m4 > $m4 + done + autotools_do_configure +} + +do_stage () { + oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR} + install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/ +} |