1 HOMEPAGE = "http://linux.duke.edu/projects/yum/"
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"
10 DEPENDS = "rpm-native python-native python-iniparse-native intltool-native \
11 python-urlgrabber-native yum-metadata-parser-native libxml2-native"
13 S = "${WORKDIR}/yum-${PV}"
15 inherit autotools native
17 do_compile_append () {
18 sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum.py
19 sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum-updatesd.py
22 do_install_append () {
23 install -d ${STAGING_BINDIR}/
24 install ${WORKDIR}/extract-postinst.awk ${STAGING_BINDIR}/
25 install ${WORKDIR}/yum-install-recommends.py ${STAGING_BINDIR}/