git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4230 311d38ba-8fff-0310-9ca6-ca027cbcb966
33 lines
835 B
BlitzBasic
33 lines
835 B
BlitzBasic
require libtool.inc
|
|
|
|
PR = "r5"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
|
|
file://autotools.patch;patch=1 \
|
|
file://uclibc.patch;patch=1 \
|
|
file://3figures.patch;patch=1 \
|
|
file://dolt.m4"
|
|
S = "${WORKDIR}/libtool-${PV}"
|
|
|
|
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_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}/
|
|
}
|