Fix the libtool packaging to include the aclocal m4 files in the 'libtool' package...
authorChris Larson <clarson@kergoth.com>
Wed, 9 Mar 2005 21:56:32 +0000 (21:56 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 9 Mar 2005 21:56:32 +0000 (21:56 +0000)
BKrev: 422f71103zqM6w8ujwzzOUIDHmgVtw

packages/libtool/libtool_1.5.10.bb
packages/libtool/libtool_1.5.6.bb
packages/libtool/libtool_1.5.bb

index e69de29..c066b7f 100644 (file)
@@ -0,0 +1,34 @@
+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."
+HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
+LICENSE = "GPL"
+SECTION = "devel"
+PR = "r1"
+
+SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
+           file://autotools.patch;patch=1 \
+          file://uclibc.patch;patch=1"
+S = "${WORKDIR}/libtool-${PV}"
+
+PACKAGES = "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}/
+}
index e69de29..719bd48 100644 (file)
@@ -0,0 +1,33 @@
+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."
+HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
+LICENSE = "GPL"
+SECTION = "devel"
+PR = "r2"
+
+SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
+           file://autotools.patch;patch=1"
+S = "${WORKDIR}/libtool-${PV}"
+
+PACKAGES = "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}/
+}
index e69de29..cc30f8c 100644 (file)
@@ -0,0 +1,27 @@
+LICENSE = GPL
+SECTION = "devel"
+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."
+PR = "r1"
+
+SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
+           file://autotools.patch;patch=1"
+S = "${WORKDIR}/libtool-${PV}"
+
+inherit autotools
+
+EXTRA_AUTORECONF = "--exclude=libtoolize"
+
+PACKAGES = "libltdl libltdl-dev ${PN}"
+FILES_${PN} += "${datadir}/aclocal*"
+FILES_libltdl = "${libdir}/libltdl.so.*"
+FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
+
+do_configure () {
+       find ${S} -name acinclude.m4 | for m4 in `cat`; do
+               cat ${S}/libtool.m4 ${S}/ltdl.m4 > $m4
+       done
+       autotools_do_configure
+}