diff options
Diffstat (limited to 'meta/packages/yum/createrepo-native_0.9.bb')
-rw-r--r-- | meta/packages/yum/createrepo-native_0.9.bb | 13 |
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 @@ | |||
1 | SRC_URI = "http://linux.duke.edu/projects/metadata/generate/createrepo-${PV}.tar.gz \ | ||
2 | file://pathfix.patch;patch=1 " | ||
3 | |||
4 | inherit autotools native | ||
5 | |||
6 | S = "${WORKDIR}/createrepo-${PV}" | ||
7 | |||
8 | do_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 | } | ||