Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.7.1-r1.ebuild,v 1.3 2008/07/08 17:59:28 coldwind Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.7.1-r1.ebuild,v 1.3 2008/07/08 17:59:28 coldwind Exp $ |
4 |
|
4 |
|
5 |
inherit eutils distutils |
5 |
inherit eutils distutils python |
6 |
|
6 |
|
7 |
MY_P="${P}release" |
7 |
MY_P="${P}release" |
8 |
S="${WORKDIR}/${MY_P}" |
8 |
S="${WORKDIR}/${MY_P}" |
Lines 37-43
Link Here
|
37 |
# Search correct libdir for existing sdl libs |
37 |
# Search correct libdir for existing sdl libs |
38 |
sed -i -e "s:/lib:/$(get_libdir):" "${S}"/config_unix.py || die |
38 |
sed -i -e "s:/lib:/$(get_libdir):" "${S}"/config_unix.py || die |
39 |
cd "${S}" |
39 |
cd "${S}" |
40 |
epatch "${FILESDIR}"/${P}-python2.5.patch |
40 |
python_version |
|
|
41 |
if [ ${PYVER} == "2.5" ] ; then |
42 |
epatch "${FILESDIR}"/${P}-python2.5.patch |
43 |
fi |
41 |
} |
44 |
} |
42 |
|
45 |
|
43 |
src_install() { |
46 |
src_install() { |