diff options
Diffstat (limited to 'meta/packages/yum/yum_3.2.18.bb')
-rw-r--r-- | meta/packages/yum/yum_3.2.18.bb | 24 |
1 files changed, 24 insertions, 0 deletions
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 0000000000..67e9ad7b2c --- /dev/null +++ b/meta/packages/yum/yum_3.2.18.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | HOMEPAGE = "http://linux.duke.edu/projects/yum/" | ||
2 | |||
3 | SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \ | ||
4 | file://hacks.patch;patch=1 \ | ||
5 | file://paths.patch;patch=1 \ | ||
6 | file://yum-install-recommends.py \ | ||
7 | file://extract-postinst.awk" | ||
8 | |||
9 | DEPENDS = "rpm python python-iniparse python-urlgrabber yum-metadata-parser libxml2" | ||
10 | |||
11 | S = "${WORKDIR}/yum-${PV}" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | do_compile_append () { | ||
16 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum.py | ||
17 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum-updatesd.py | ||
18 | } | ||
19 | |||
20 | do_install_append () { | ||
21 | install -d ${D}${bindir}/ | ||
22 | install ${WORKDIR}/extract-postinst.awk ${D}${bindir}/ | ||
23 | install ${WORKDIR}/yum-install-recommends.py ${D}${bindir}/ | ||
24 | } | ||