diff options
Diffstat (limited to 'packages/expat')
-rw-r--r-- | packages/expat/expat_1.95.6.bb | 22 | ||||
-rw-r--r-- | packages/expat/expat_1.95.7.bb | 29 |
2 files changed, 51 insertions, 0 deletions
diff --git a/packages/expat/expat_1.95.6.bb b/packages/expat/expat_1.95.6.bb index e69de29bb2..f597b3f18d 100644 --- a/packages/expat/expat_1.95.6.bb +++ b/packages/expat/expat_1.95.6.bb @@ -0,0 +1,22 @@ +SECTION = "libs" +DESCRIPTION = "Jim Clarkes XML parser library." +LICENSE = "MIT" + +SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz" +S = "${WORKDIR}/expat-${PV}" + +inherit autotools +export LTCC = "${CC}" + +do_stage () { + install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/ + oe_libinstall -so libexpat ${STAGING_LIBDIR}/ +} + +do_install () { + oe_runmake prefix="${D}${prefix}" \ + bindir="${D}${bindir}" \ + libdir="${D}${libdir}" \ + includedir="${D}${includedir}" \ + install +} diff --git a/packages/expat/expat_1.95.7.bb b/packages/expat/expat_1.95.7.bb index e69de29bb2..95572ce84b 100644 --- a/packages/expat/expat_1.95.7.bb +++ b/packages/expat/expat_1.95.7.bb @@ -0,0 +1,29 @@ +SECTION = "libs" +DESCRIPTION = "Jim Clarkes XML parser library." +HOMEPAGE = "http://expat.sourceforge.net/" +LICENSE = "MIT" + +SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ + file://autotools.patch;patch=1" +S = "${WORKDIR}/expat-${PV}" + +inherit autotools lib_package +export LTCC = "${CC}" + +do_configure () { + rm -f ${S}/conftools/libtool.m4 + autotools_do_configure +} + +do_stage () { + install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/ + oe_libinstall -so libexpat ${STAGING_LIBDIR} +} + +do_install () { + oe_runmake prefix="${D}${prefix}" \ + bindir="${D}${bindir}" \ + libdir="${D}${libdir}" \ + includedir="${D}${includedir}" \ + install +} |