expat: unify
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Thu, 21 Dec 2006 00:38:50 +0000 (00:38 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Thu, 21 Dec 2006 00:38:50 +0000 (00:38 +0000)
packages/expat/expat.inc [new file with mode: 0644]
packages/expat/expat_1.95.6.bb
packages/expat/expat_1.95.7.bb
packages/expat/expat_2.0.0.bb

diff --git a/packages/expat/expat.inc b/packages/expat/expat.inc
new file mode 100644 (file)
index 0000000..3318efb
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "Jim Clarkes XML parser library."
+HOMEPAGE = "http://expat.sf.net/"
+SECTION = "libs"
+LICENSE = "MIT"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
+          file://autotools.patch;patch=1"
+S = "${WORKDIR}/expat-${PV}"
+
+export LTCC = "${CC}"
+
+inherit autotools
+
index a6ac0f5..576ad76 100644 (file)
@@ -1,13 +1,6 @@
-SECTION = "libs"
-DESCRIPTION = "Jim Clarkes XML parser library."
-LICENSE = "MIT"
-PR = "r1"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
-S = "${WORKDIR}/expat-${PV}"
+require expat.inc
 
-inherit autotools 
-export LTCC = "${CC}"
+PR = "r1"
 
 do_stage () {
        install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
index c3bbb89..a4dda4d 100644 (file)
@@ -1,15 +1,9 @@
-SECTION = "libs"
-DESCRIPTION = "Jim Clarkes XML parser library."
-HOMEPAGE = "http://expat.sourceforge.net/"
-LICENSE = "MIT"
+require expat.inc
 PR = "r1"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
-          file://autotools.patch;patch=1"
-S = "${WORKDIR}/expat-${PV}"
+SRC_URI += "file://autotools.patch;patch=1"
 
-inherit autotools lib_package
-export LTCC = "${CC}"
+inherit lib_package
 
 do_configure () {
        rm -f ${S}/conftools/libtool.m4
index 4f98d3c..48b2b4e 100644 (file)
@@ -1,15 +1,9 @@
-DESCRIPTION = "Jim Clarkes XML parser library."
-HOMEPAGE = "http://expat.sourceforge.net/"
-SECTION = "libs"
-LICENSE = "MIT"
+require expat.inc
 PR = "r2"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
-          file://autotools.patch;patch=1"
-S = "${WORKDIR}/expat-${PV}"
+SRC_URI = "file://autotools.patch;patch=1"
 
-inherit autotools lib_package
-export LTCC = "${CC}"
+inherit lib_package
 
 do_configure() {
        rm -f ${S}/conftools/libtool.m4