summaryrefslogtreecommitdiff
path: root/recipes/yum/yum_3.2.18.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-25 20:46:02 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-03-19 20:22:35 +0100
commit7732204f1e737b5874629ea1469e69ee5db8b0a3 (patch)
treeb1819358908246d48d85e26f52894684331daaaf /recipes/yum/yum_3.2.18.bb
parent7fe23916b92d01915c7497edcac55fee9ab67091 (diff)
Add yum and createrepo (from Poky)
Squashed set of changes from Poky: svn r5098 - Add yum-native and createrepo svn r5108 - createrepo-native: Add fix for empty data fields when creating repositories svn r5109 - yum-native: Add patch to fix install paths svn r5110 - yum-native: Add some hacks to make yum work better in the cross build case svn r5118 - yum-native: add depends on libxml2-native svn r5130 - yum-native: Add NOPOST and NOTRIGGERS flags when installing packages svn r5133 - yum-native: Add extract-postinst.awk script for use during rootfs generation svn r5142 - createrepo-native: added dependency on Python svn r5157 - yum: Add yum-install-recommends.py script to handle installing Recommends svn r5379 - yum: added 3.2.18 svn r5385 - yum-metadata-parser: fixed dependencies svn r5392 - yum: do not hardcode arm architecture - rootfs_rpm provide arch info svn r5395 - yum: Don't apply hacks.patch, its only needed for the native version svn r5396 - yum-native: Fix hacks.patch to handle architecture detection issues svn r5426 - yum: fixed packaging svn r5427 - yum: added all required Python modules to dependencies OE changes: yum: do not hardcode /usr yum-native: added intltool-native to dependencies - spotted by Tom Rini
Diffstat (limited to 'recipes/yum/yum_3.2.18.bb')
-rw-r--r--recipes/yum/yum_3.2.18.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/yum/yum_3.2.18.bb b/recipes/yum/yum_3.2.18.bb
new file mode 100644
index 0000000000..b147c52b7b
--- /dev/null
+++ b/recipes/yum/yum_3.2.18.bb
@@ -0,0 +1,32 @@
+HOMEPAGE = "http://linux.duke.edu/projects/yum/"
+PR = "r5"
+
+SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \
+ file://paths.patch;patch=1 \
+ file://paths2.patch;patch=1 \
+ file://yum-install-recommends.py \
+ file://extract-postinst.awk"
+
+RDEPENDS = "python-rpm python-core python-iniparse python-urlgrabber \
+ python-shell python-re python-logging python-pickle \
+ python-netserver python-compression \
+ python-bzip2 python-unixadmin python-xml python-sqlite3 \
+ python-textutils python-fcntl python-email \
+ yum-metadata-parser"
+
+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}/
+}
+
+FILES_${PN} += "${libdir}/python* ${datadir}/yum-cli"