blob: 252167622ab405acf0ccc68ac6db4f0108f5f200 (
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
30
31
32
33
34
35
36
37
38
39
40
|
PR = "r1"
include libtool_${PV}.oe
inherit native
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://${FILESDIR}/libdir-la.patch;patch=1 \
file://${FILESDIR}/sedvar.patch;patch=1 \
file://${FILESDIR}/tag.patch;patch=1 \
file://${FILESDIR}/prefix.patch;patch=1 \
file://${FILESDIR}/ld.patch;patch=1 \
file://${FILESDIR}/chmod.patch;patch=1 \
file://${FILESDIR}/install-path-check.patch;patch=1"
S = "${WORKDIR}/libtool-${PV}"
do_stage () {
oe_runmake install
install -d ${STAGING_DATADIR}/libtool \
${STAGING_DATADIR}/aclocal
install -m 0755 ${HOST_SYS}-libtool ${STAGING_BINDIR}/${HOST_SYS}-libtool
install -m 0755 libtoolize ${STAGING_BINDIR}/libtoolize
install -c config.guess ${STAGING_DATADIR}/libtool/config.guess
install -c config.sub ${STAGING_DATADIR}/libtool/config.sub
install -c -m 0644 ltmain.sh ${STAGING_DATADIR}/libtool/
install -c -m 0644 m4/libtool.m4 ${STAGING_DATADIR}/aclocal/
install -c -m 0644 m4/ltdl.m4 ${STAGING_DATADIR}/aclocal/
oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
install -d ${CROSS_DATADIR}/libtool/
install -d ${CROSS_DATADIR}/aclocal/
install -c config.guess ${CROSS_DATADIR}/libtool/config.guess
install -c config.sub ${CROSS_DATADIR}/libtool/config.sub
install -c -m 0644 ltmain.sh ${CROSS_DATADIR}/libtool/
install -c -m 0644 m4/libtool.m4 ${CROSS_DATADIR}/aclocal/
install -c -m 0644 m4/ltdl.m4 ${CROSS_DATADIR}/aclocal/
}
do_install () {
}
|