summaryrefslogtreecommitdiffstats
path: root/meta/packages/yum/createrepo-native_0.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/yum/createrepo-native_0.9.bb')
-rw-r--r--meta/packages/yum/createrepo-native_0.9.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/yum/createrepo-native_0.9.bb b/meta/packages/yum/createrepo-native_0.9.bb
new file mode 100644
index 0000000000..e682667c51
--- /dev/null
+++ b/meta/packages/yum/createrepo-native_0.9.bb
@@ -0,0 +1,13 @@
1SRC_URI = "http://linux.duke.edu/projects/metadata/generate/createrepo-${PV}.tar.gz \
2 file://pathfix.patch;patch=1 "
3
4inherit autotools native
5
6S = "${WORKDIR}/createrepo-${PV}"
7
8do_compile_append () {
9 sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/createrepo
10 sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/modifyrepo
11 sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/genpkgmetadata.py
12 sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/modifyrepo.py
13}