|
|
# use the correct compiler... | # use the correct compiler... |
sed -i -e 's:gcc:$(CC):g' ${S}/Makefile.in | sed -i -e 's:gcc:$(CC):g' ${S}/Makefile.in |
| |
|
# make makefile multilib aware |
|
sed -i -e "s:libdir =.*:libdir = \$(prefix)/$(get_libdir):" ${S}/Makefile.in |
|
|
# avoid make cleaning up some intermediate files | # avoid make cleaning up some intermediate files |
# as it would rebuild them during install :-( | # as it would rebuild them during install :-( |
echo >>${S}/Makefile.in | echo >>${S}/Makefile.in |
|
|
# not parallel safe | # not parallel safe |
emake -j1 prefix="${D}/usr" PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="ERROR" install || die "make install failed" | emake -j1 prefix="${D}/usr" PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="ERROR" install || die "make install failed" |
dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml | dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml |
dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50 |
dosym libnewt.so.${PV} /usr/$(get_libdir)/libnewt.so.0.50 |
} | } |