summaryrefslogtreecommitdiffstats
path: root/meta/packages/libtool/libtool_2.2.6.bb
blob: f3228c28fe7ce4a9eeb4b356bb9e531120c06412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require libtool.inc

PR = "r16"

SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
           file://dolt.m4"

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_stage

EXTRA_AUTORECONF = "--exclude=libtoolize"



#
# We want the results of libtool-cross preserved - don't stage anything ourselves.
#
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"

libtool_sysroot_preprocess () {
	rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
	rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
	rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
}