Merge oe-devel@oe-devel.bkbits.net:packages
[vuplus_openembedded] / libtool / libtool_1.5.6.oe
1 DESCRIPTION = "Generic library support script \
2 This is GNU libtool, a generic library support script.  Libtool hides \
3 the complexity of generating special library types (such as shared \
4 libraries) behind a consistent interface."
5 HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
6 LICENSE = "GPL"
7 SECTION = "devel"
8 PR = "r1"
9
10 SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
11            file://autotools.patch;patch=1"
12 S = "${WORKDIR}/libtool-${PV}"
13
14 PACKAGES =+ "libltdl libltdl-dev"
15 FILES_libltdl = "${libdir}/libltdl.so.*"
16 FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
17
18 inherit autotools
19
20 EXTRA_AUTORECONF = "--exclude=libtoolize"
21
22 do_configure () {
23         find ${S} -name acinclude.m4 | for m4 in `cat`; do
24                 cat ${S}/libtool.m4 ${S}/ltdl.m4 > $m4
25         done
26         autotools_do_configure
27 }
28
29 do_stage () {
30         oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
31         install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
32 }