2009-03-09 13:29:37 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2014-10-19 23:16:59 +00:00
|
|
|
rpmextract $src
|
2009-03-09 13:29:37 +00:00
|
|
|
tar xfvj rhpl-*.tar.bz2
|
|
|
|
rm rhpl-*.tar.bz2
|
|
|
|
cd rhpl-*
|
2011-04-04 13:28:13 +00:00
|
|
|
incl=$(echo $python/include/python2.*)
|
|
|
|
sed -i -e "s@/usr/include/\$(PYTHON)@$incl@" \
|
|
|
|
-e "s@PYTHONLIBDIR = /usr/\$(LIBDIR)/\$(PYTHON)/site-packages@PYTHONLIBDIR = $(toPythonPath $out)@" Makefile.inc
|
2009-03-09 13:29:37 +00:00
|
|
|
sed -i -e "s@/usr/bin/install@install@g" \
|
2020-08-25 02:07:09 +00:00
|
|
|
-e "s@\$(DESTDIR)/usr/share/locale@$out/share/locale@" po/Makefile
|
2009-03-09 13:29:37 +00:00
|
|
|
make PREFIX=$out
|
|
|
|
make PREFIX=$out install
|