summaryrefslogtreecommitdiffstats
path: root/meta/packages/libtool
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-05 23:13:51 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-05 23:13:51 +0000
commit4a0a09efeeb9173919c1c469a9ad2f95389a4eda (patch)
treeece31606f94a8e4c8b36d5db637e65d18ef7ca8d /meta/packages/libtool
parente60c8bb0e4fa569fe66456fc2bb0a2e4e600a0a5 (diff)
downloadpoky-4a0a09efeeb9173919c1c469a9ad2f95389a4eda.tar.gz
libtool: Add libtool-sdk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4432 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libtool')
-rw-r--r--meta/packages/libtool/libtool-sdk_2.2.4.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/packages/libtool/libtool-sdk_2.2.4.bb b/meta/packages/libtool/libtool-sdk_2.2.4.bb
new file mode 100644
index 0000000000..ac6d82d085
--- /dev/null
+++ b/meta/packages/libtool/libtool-sdk_2.2.4.bb
@@ -0,0 +1,52 @@
1require libtool.inc
2require libtool_${PV}.bb
3
4PR = "r0"
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
6SRC_URI_append = " file://cross_compile.patch;patch=1"
7
8S = "${WORKDIR}/libtool-${PV}"
9
10inherit sdk
11
12do_install () {
13 install -d ${D}${bindir}/
14 install -m 0755 libtool ${D}${bindir}/
15 install -m 0755 libtoolize ${D}${bindir}/
16
17 install -d ${D}${libdir}/
18 oe_libinstall -a -so -C libltdl libltdl ${D}${libdir}
19
20 install -d ${D}${includedir}/
21 install -m 0644 libltdl/ltdl.h ${D}${includedir}
22
23 install -d ${D}${datadir}/libtool/config/
24 install -c ${S}/libltdl/config/config.guess ${D}${datadir}/libtool/
25 install -c ${S}/libltdl/config/config.sub ${D}${datadir}/libtool/
26 install -c -m 0644 ${S}/libltdl/config/ltmain.sh ${D}${datadir}/libtool/config/
27
28 install -d ${D}${datadir}/aclocal/
29 install -c -m 0644 ${S}/libltdl/m4/libtool.m4 ${D}${datadir}/aclocal/
30 install -c -m 0644 ${S}/libltdl/m4/ltdl.m4 ${D}${datadir}/aclocal/
31 install -c -m 0644 ${S}/libltdl/m4/ltoptions.m4 ${D}${datadir}/aclocal/
32 install -c -m 0644 ${S}/libltdl/m4/ltversion.m4 ${D}${datadir}/aclocal/
33 install -c -m 0644 ${S}/libltdl/m4/ltsugar.m4 ${D}${datadir}/aclocal/
34 install -c -m 0644 ${S}/libltdl/m4/lt~obsolete.m4 ${D}${datadir}/aclocal/
35}
36
37do_stage () {
38 install -m 0755 ${HOST_SYS}-libtool ${STAGING_BINDIR}/${HOST_SYS}-libtool
39 install -m 0755 libtoolize ${STAGING_BINDIR}/libtoolize
40 oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
41 install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
42 install -d ${STAGING_DATADIR}/libtool/config/ ${STAGING_DATADIR}/aclocal/
43 install -c ${S}/libltdl/config/config.guess ${STAGING_DATADIR}/libtool/
44 install -c ${S}/libltdl/config/config.sub ${STAGING_DATADIR}/libtool/
45 install -c -m 0644 ${S}/libltdl/config/ltmain.sh ${STAGING_DATADIR}/libtool/config/
46 install -c -m 0644 ${S}/libltdl/m4/libtool.m4 ${STAGING_DATADIR}/aclocal/
47 install -c -m 0644 ${S}/libltdl/m4/ltdl.m4 ${STAGING_DATADIR}/aclocal/
48 install -c -m 0644 ${S}/libltdl/m4/ltoptions.m4 ${STAGING_DATADIR}/aclocal/
49 install -c -m 0644 ${S}/libltdl/m4/ltversion.m4 ${STAGING_DATADIR}/aclocal/
50 install -c -m 0644 ${S}/libltdl/m4/ltsugar.m4 ${STAGING_DATADIR}/aclocal/
51 install -c -m 0644 ${S}/libltdl/m4/lt~obsolete.m4 ${STAGING_DATADIR}/aclocal/
52}