summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/yum/files/extract-postinst.awk (renamed from meta/packages/yum/yum-native/extract-postinst.awk)0
-rw-r--r--meta/packages/yum/files/hacks.patch (renamed from meta/packages/yum/yum-native/hacks.patch)0
-rw-r--r--meta/packages/yum/files/paths.patch (renamed from meta/packages/yum/yum-native/paths.patch)0
-rwxr-xr-xmeta/packages/yum/files/yum-install-recommends.py (renamed from meta/packages/yum/yum-native/yum-install-recommends.py)0
-rw-r--r--meta/packages/yum/yum_3.2.18.bb24
5 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/yum/yum-native/extract-postinst.awk b/meta/packages/yum/files/extract-postinst.awk
index 8f2836b32..8f2836b32 100644
--- a/meta/packages/yum/yum-native/extract-postinst.awk
+++ b/meta/packages/yum/files/extract-postinst.awk
diff --git a/meta/packages/yum/yum-native/hacks.patch b/meta/packages/yum/files/hacks.patch
index d0232ec9b..d0232ec9b 100644
--- a/meta/packages/yum/yum-native/hacks.patch
+++ b/meta/packages/yum/files/hacks.patch
diff --git a/meta/packages/yum/yum-native/paths.patch b/meta/packages/yum/files/paths.patch
index ee5c999c4..ee5c999c4 100644
--- a/meta/packages/yum/yum-native/paths.patch
+++ b/meta/packages/yum/files/paths.patch
diff --git a/meta/packages/yum/yum-native/yum-install-recommends.py b/meta/packages/yum/files/yum-install-recommends.py
index 64716f2c3..64716f2c3 100755
--- a/meta/packages/yum/yum-native/yum-install-recommends.py
+++ b/meta/packages/yum/files/yum-install-recommends.py
diff --git a/meta/packages/yum/yum_3.2.18.bb b/meta/packages/yum/yum_3.2.18.bb
new file mode 100644
index 000000000..67e9ad7b2
--- /dev/null
+++ b/meta/packages/yum/yum_3.2.18.bb
@@ -0,0 +1,24 @@
+HOMEPAGE = "http://linux.duke.edu/projects/yum/"
+
+SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \
+ file://hacks.patch;patch=1 \
+ file://paths.patch;patch=1 \
+ file://yum-install-recommends.py \
+ file://extract-postinst.awk"
+
+DEPENDS = "rpm python python-iniparse python-urlgrabber yum-metadata-parser libxml2"
+
+S = "${WORKDIR}/yum-${PV}"
+
+inherit autotools
+
+do_compile_append () {
+ sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum.py
+ sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum-updatesd.py
+}
+
+do_install_append () {
+ install -d ${D}${bindir}/
+ install ${WORKDIR}/extract-postinst.awk ${D}${bindir}/
+ install ${WORKDIR}/yum-install-recommends.py ${D}${bindir}/
+}