1 HOMEPAGE
= "http://linux.duke.edu/projects/yum/"
3 SRC_URI
= "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \
6 file://yum-install-recommends.py \
7 file://extract-postinst.awk"
10 DEPENDS
= "rpm-native python-native python-iniparse-native intltool-native \
11 python-urlgrabber-native yum-metadata-parser-native libxml2-native"
13 S
= "${WORKDIR}/yum-${PV}"
15 inherit autotools native
17 do_compile_append
() {
18 sed
-e 's#
!/usr
/bin/python#
!$
{bindir
}/python#'
-e 's#
/usr
/share#$
{datadir
}#'
-i $
{S
}/bin/yum.py
19 sed
-e 's#
!/usr
/bin/python#
!$
{bindir
}/python#'
-e 's#
/usr
/share#$
{datadir
}#'
-i $
{S
}/bin/yum
-updatesd.py
22 do_install_append
() {
23 install
-d $
{STAGING_BINDIR
}/
24 install $
{WORKDIR
}/extract
-postinst.awk $
{STAGING_BINDIR
}/
25 install $
{WORKDIR
}/yum
-install
-recommends.py $
{STAGING_BINDIR
}/
28 SRC_URI
[md5sum
] = "711f518cb72a698ed98a21a374a4585e"
29 SRC_URI
[sha256sum
] = "8b3f300602ce021bf5202496b98271814935f45f3bf3c6730ba4e789b2f323c8"