summaryrefslogtreecommitdiff
path: root/expat
diff options
context:
space:
mode:
Diffstat (limited to 'expat')
-rw-r--r--expat/expat_1.95.6.oe13
-rw-r--r--expat/expat_1.95.7.oe13
2 files changed, 10 insertions, 16 deletions
diff --git a/expat/expat_1.95.6.oe b/expat/expat_1.95.6.oe
index 0309cd8db0..e13b2ca26c 100644
--- a/expat/expat_1.95.6.oe
+++ b/expat/expat_1.95.6.oe
@@ -2,18 +2,15 @@ DESCRIPTION = "Jim Clarkes XML parser library."
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
-SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
-S = "${WORKDIR}/${P}"
+SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
+S = "${WORKDIR}/expat-${PV}"
inherit autotools libtool
-export LTCC=${CC}
+export LTCC = "${CC}"
do_stage () {
- install -m 0644 lib/expat.h ${STAGING_DIR}/target/include/
- install -m 0755 .libs/libexpat.so.0.4.0 ${STAGING_LIBDIR}/
- ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.1
- ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.0
- ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so
+ install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
+ oe_soinstall .libs/libexpat.so.0.4.0 ${STAGING_LIBDIR}/
}
do_install () {
diff --git a/expat/expat_1.95.7.oe b/expat/expat_1.95.7.oe
index 9d18b707c1..60bc9af783 100644
--- a/expat/expat_1.95.7.oe
+++ b/expat/expat_1.95.7.oe
@@ -2,18 +2,15 @@ DESCRIPTION = "Jim Clarkes XML parser library."
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
-SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
-S = "${WORKDIR}/${P}"
+SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
+S = "${WORKDIR}/expat-${PV}"
inherit autotools libtool
-export LTCC=${CC}
+export LTCC = "${CC}"
do_stage () {
- install -m 0644 lib/expat.h ${STAGING_DIR}/target/include/
- install -m 0755 .libs/libexpat.so.0.5.0 ${STAGING_LIBDIR}/
- ln -sf libexpat.so.0.5.0 ${STAGING_LIBDIR}/libexpat.so.1
- ln -sf libexpat.so.0.5.0 ${STAGING_LIBDIR}/libexpat.so.0
- ln -sf libexpat.so.0.5.0 ${STAGING_LIBDIR}/libexpat.so
+ install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
+ oe_soinstall .libs/libexpat.so.0.5.0 ${STAGING_LIBDIR}/
}
do_install () {