2010-03-25 18:10:41 +00:00
|
|
|
DEPENDS = "python-native libxml2-native"
|
|
|
|
RDEPENDS = "yum-native"
|
2008-09-04 16:02:06 +00:00
|
|
|
|
2008-10-29 15:15:08 +00:00
|
|
|
SRC_URI = "http://createrepo.baseurl.org/download/createrepo-${PV}.tar.gz \
|
2008-08-25 20:46:02 +00:00
|
|
|
file://pathfix.patch;patch=1 "
|
2010-03-25 18:10:41 +00:00
|
|
|
PR = "r2"
|
2008-08-25 20:46:02 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|