python-tkinter: fix x86 build.
This commit is contained in:
parent
a81ab4705f
commit
f95b4a99f3
|
@ -60,12 +60,17 @@ do_install() {
|
|||
# We only care for the idle and tk modules.
|
||||
vmkdir usr/bin
|
||||
vmkdir usr/lib/python2.7/lib-dynload
|
||||
if [ -e ${wrksrc}/${pkgname}-${version}-install/usr/lib32 ]; then
|
||||
_libdir=lib32
|
||||
else
|
||||
_libdir=lib
|
||||
fi
|
||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/bin/idle ${DESTDIR}/usr/bin
|
||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/lib/python2.7/idlelib \
|
||||
${DESTDIR}/usr/lib/python2.7/
|
||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/lib/python2.7/lib-tk \
|
||||
${DESTDIR}/usr/lib/python2.7/
|
||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/lib/python2.7/lib-dynload/_tkinter.so \
|
||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/${_libdir}/python2.7/lib-dynload/_tkinter.so \
|
||||
${DESTDIR}/usr/lib/python2.7/lib-dynload/
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue