mirror of
https://git.yoctoproject.org/poky
synced 2026-04-24 21:32:12 +02:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5142 311d38ba-8fff-0310-9ca6-ca027cbcb966
18 lines
570 B
BlitzBasic
18 lines
570 B
BlitzBasic
DEPENDS = "python-native"
|
|
|
|
SRC_URI = "http://linux.duke.edu/projects/metadata/generate/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
|
|
}
|