generic-poky/meta/packages/yum/createrepo-native_0.9.8.bb
Joshua Lock 34a24c2d9d createrepo: Fix dependencies, yum at runtime and libxml2 at build
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00

18 lines
561 B
BlitzBasic

DEPENDS = "python-native libxml2-native"
RDEPENDS = "yum-native"
SRC_URI = "http://createrepo.baseurl.org/download/createrepo-${PV}.tar.gz \
file://pathfix.patch;patch=1 "
PR = "r2"
inherit autotools native
S = "${WORKDIR}/createrepo-${PV}"
do_compile_append () {
sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/createrepo
sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/modifyrepo
sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/genpkgmetadata.py
sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/modifyrepo.py
}