summaryrefslogtreecommitdiffstats
path: root/meta/packages/yum/createrepo-native_0.9.8.bb
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-03-23 14:17:58 +0000
committerJoshua Lock <josh@linux.intel.com>2010-03-23 14:51:10 +0000
commitff5e6f4b4d1f0431d6225155430b057028ec3bb2 (patch)
treefaa07b10ea279e92d1eb001dec470a1a702bbba3 /meta/packages/yum/createrepo-native_0.9.8.bb
parent1a1361040f081e6a87ff3733ade1d07faf80eb8c (diff)
downloadpoky-ff5e6f4b4d1f0431d6225155430b057028ec3bb2.tar.gz
yum: Update yum and createrepo to latest version
Also switch Yum to using BBCLASSEXTEND rather than having separate native and host recipes. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/yum/createrepo-native_0.9.8.bb')
-rw-r--r--meta/packages/yum/createrepo-native_0.9.8.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/yum/createrepo-native_0.9.8.bb b/meta/packages/yum/createrepo-native_0.9.8.bb
new file mode 100644
index 0000000000..422b118ac9
--- /dev/null
+++ b/meta/packages/yum/createrepo-native_0.9.8.bb
@@ -0,0 +1,16 @@
1DEPENDS = "python-native"
2
3SRC_URI = "http://createrepo.baseurl.org/download/createrepo-${PV}.tar.gz \
4 file://pathfix.patch;patch=1 "
5PR = "r1"
6
7inherit autotools native
8
9S = "${WORKDIR}/createrepo-${PV}"
10
11do_compile_append () {
12 sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/createrepo
13 sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/modifyrepo
14 sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/genpkgmetadata.py
15 sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/modifyrepo.py
16}