diff options
Diffstat (limited to 'recipes/yum/createrepo-native_0.9.bb')
-rw-r--r-- | recipes/yum/createrepo-native_0.9.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/yum/createrepo-native_0.9.bb b/recipes/yum/createrepo-native_0.9.bb new file mode 100644 index 0000000000..c634ecb746 --- /dev/null +++ b/recipes/yum/createrepo-native_0.9.bb @@ -0,0 +1,17 @@ +DEPENDS = "python-native" + +SRC_URI = "http://createrepo.baseurl.org/download/createrepo-${PV}.tar.gz \ + file://fix.patch;patch=1 \ + file://pathfix.patch;patch=1 " +PR = "r1" + +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 +} |