summaryrefslogtreecommitdiffstats
path: root/meta/packages/yum/yum-native_3.2.18.bb
blob: 6657c52d805863bf5fc3f699a42bd58598e7e85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
HOMEPAGE = "http://linux.duke.edu/projects/yum/"

SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz"

DEPENDS = "rpm-native python-native python-iniparse-native python-urlgrabber-native yum-metadata-parser-native"

S = "${WORKDIR}/yum-${PV}"

inherit autotools native

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
}