diff options
Diffstat (limited to 'meta/packages/expat/expat_2.0.0.bb')
-rw-r--r-- | meta/packages/expat/expat_2.0.0.bb | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/meta/packages/expat/expat_2.0.0.bb b/meta/packages/expat/expat_2.0.0.bb index 0fd825ee24..f24619a176 100644 --- a/meta/packages/expat/expat_2.0.0.bb +++ b/meta/packages/expat/expat_2.0.0.bb | |||
@@ -1,27 +1,13 @@ | |||
1 | require expat.inc | 1 | require expat.inc |
2 | PR = "r2" | 2 | PR = "r3" |
3 | 3 | ||
4 | SRC_URI += "file://autotools.patch;patch=1" | 4 | SRC_URI += "file://autotools.patch;patch=1" |
5 | 5 | ||
6 | inherit lib_package | 6 | inherit lib_package |
7 | 7 | ||
8 | do_configure() { | 8 | do_configure_prepend () { |
9 | rm -f ${S}/conftools/libtool.m4 | 9 | rm -f ${S}/conftools/libtool.m4 |
10 | touch ${S}/conftools/libtool.m4 | 10 | touch ${S}/conftools/libtool.m4 |
11 | autotools_do_configure | ||
12 | } | 11 | } |
13 | 12 | ||
14 | do_stage() { | 13 | BBCLASSEXTEND = "native sdk" |
15 | install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/ | ||
16 | install -m 0644 ${S}/lib/expat_external.h ${STAGING_INCDIR}/ | ||
17 | oe_libinstall -so libexpat ${STAGING_LIBDIR} | ||
18 | } | ||
19 | |||
20 | do_install() { | ||
21 | oe_runmake prefix="${D}${prefix}" \ | ||
22 | bindir="${D}${bindir}" \ | ||
23 | libdir="${D}${libdir}" \ | ||
24 | includedir="${D}${includedir}" \ | ||
25 | man1dir="${D}${mandir}/man1" \ | ||
26 | install | ||
27 | } | ||