diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 17:37:52 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:26 +0000 |
| commit | 7541841b565be0b1ad2238b851b7ac736e48d762 (patch) | |
| tree | 388bb3b86dc8d9691dbcc35eb04c34fa02ff7043 | |
| parent | b9cac51c380ed55a00fa522334fb90aa547e03f6 (diff) | |
| download | poky-7541841b565be0b1ad2238b851b7ac736e48d762.tar.gz | |
libxml2: Convert to BBCLASSEXTEND (and drop unneeded custom staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
| -rw-r--r-- | meta/packages/libxml/libxml2-native_2.6.29.bb | 13 | ||||
| -rw-r--r-- | meta/packages/libxml/libxml2.inc | 18 | ||||
| -rw-r--r-- | meta/packages/libxml/libxml2/libxml-64bit.patch (renamed from meta/packages/libxml/files/libxml-64bit.patch) | 0 | ||||
| -rw-r--r-- | meta/packages/libxml/libxml2/libxml-nanohttp.patch (renamed from meta/packages/libxml/files/libxml-nanohttp.patch) | 0 | ||||
| -rw-r--r-- | meta/packages/libxml/libxml2_2.6.29.bb | 25 |
5 files changed, 19 insertions, 37 deletions
diff --git a/meta/packages/libxml/libxml2-native_2.6.29.bb b/meta/packages/libxml/libxml2-native_2.6.29.bb deleted file mode 100644 index 75169f2bce..0000000000 --- a/meta/packages/libxml/libxml2-native_2.6.29.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | require libxml2.inc | ||
| 2 | |||
| 3 | PR = "r8" | ||
| 4 | |||
| 5 | DEPENDS += "python-native" | ||
| 6 | |||
| 7 | EXTRA_OECONF = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n" | ||
| 8 | |||
| 9 | inherit native | ||
| 10 | |||
| 11 | do_stage () { | ||
| 12 | oe_runmake install | ||
| 13 | } | ||
diff --git a/meta/packages/libxml/libxml2.inc b/meta/packages/libxml/libxml2.inc index e8b03cf02d..1aa7132ceb 100644 --- a/meta/packages/libxml/libxml2.inc +++ b/meta/packages/libxml/libxml2.inc | |||
| @@ -7,6 +7,24 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ | |||
| 7 | file://libxml-64bit.patch;patch=1 \ | 7 | file://libxml-64bit.patch;patch=1 \ |
| 8 | file://libxml-nanohttp.patch;patch=1" | 8 | file://libxml-nanohttp.patch;patch=1" |
| 9 | 9 | ||
| 10 | DEPENDS_virtclass-native = "python-native" | ||
| 11 | |||
| 10 | inherit autotools pkgconfig binconfig | 12 | inherit autotools pkgconfig binconfig |
| 11 | 13 | ||
| 12 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" | 14 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" |
| 15 | EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n" | ||
| 16 | |||
| 17 | export LDFLAGS += "-ldl" | ||
| 18 | |||
| 19 | python populate_packages_prepend () { | ||
| 20 | # autonamer would call this libxml2-2, but we don't want that | ||
| 21 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
| 22 | bb.data.setVar('PKG_libxml2', 'libxml2', d) | ||
| 23 | } | ||
| 24 | |||
| 25 | PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | ||
| 26 | |||
| 27 | FILES_${PN}-dev += "${bindir}/*-config" | ||
| 28 | FILES_${PN}-utils += "${bindir}/*" | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/packages/libxml/files/libxml-64bit.patch b/meta/packages/libxml/libxml2/libxml-64bit.patch index fcb7d34fa7..fcb7d34fa7 100644 --- a/meta/packages/libxml/files/libxml-64bit.patch +++ b/meta/packages/libxml/libxml2/libxml-64bit.patch | |||
diff --git a/meta/packages/libxml/files/libxml-nanohttp.patch b/meta/packages/libxml/libxml2/libxml-nanohttp.patch index 550e036db3..550e036db3 100644 --- a/meta/packages/libxml/files/libxml-nanohttp.patch +++ b/meta/packages/libxml/libxml2/libxml-nanohttp.patch | |||
diff --git a/meta/packages/libxml/libxml2_2.6.29.bb b/meta/packages/libxml/libxml2_2.6.29.bb index 2f583c2c30..42253dd475 100644 --- a/meta/packages/libxml/libxml2_2.6.29.bb +++ b/meta/packages/libxml/libxml2_2.6.29.bb | |||
| @@ -1,26 +1,3 @@ | |||
| 1 | require libxml2.inc | 1 | require libxml2.inc |
| 2 | 2 | ||
| 3 | PR = "r7" | 3 | PR = "r8" |
| 4 | |||
| 5 | export LDFLAGS += "-ldl" | ||
| 6 | |||
| 7 | do_stage() { | ||
| 8 | autotools_stage_all | ||
| 9 | install -d ${STAGING_DATADIR}/aclocal/ | ||
| 10 | install -d ${STAGING_BINDIR_CROSS} | ||
| 11 | |||
| 12 | install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ | ||
| 13 | #this is need it by php during its install | ||
| 14 | install -m 0755 xml2-config ${STAGING_BINDIR_CROSS} | ||
| 15 | } | ||
| 16 | |||
| 17 | python populate_packages_prepend () { | ||
| 18 | # autonamer would call this libxml2-2, but we don't want that | ||
| 19 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
| 20 | bb.data.setVar('PKG_libxml2', 'libxml2', d) | ||
| 21 | } | ||
| 22 | |||
| 23 | PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | ||
| 24 | |||
| 25 | FILES_${PN}-dev += "${bindir}/*-config" | ||
| 26 | FILES_${PN}-utils += "${bindir}/*" | ||
