--- lgrind-3.67-r2.ebuild.old 2005-11-11 13:32:45.000000000 +0100 +++ lgrind-3.67-r2.ebuild 2005-11-11 13:38:26.000000000 +0100 @@ -12,12 +12,12 @@ SLOT="0" KEYWORDS="x86 ppc amd64 ~sparc" S=${WORKDIR}/${PN} +LGRINDEF=${TEXMF}/tex/latex/${PN} src_compile() { - latex-package_src_compile cd ${S}/source - emake || die "Error compiling lgrind executable" + VERSION=${PV} DEFSFILE="${LGRINDEF}/lgrindef" emake || die "Error compiling lgrind executable" } @@ -28,7 +28,7 @@ # then the texmf stuff latex-package_src_install - insinto /usr/share/texmf/tex/latex/${PN} + insinto ${TEXMF}/tex/latex/${PN} doins lgrindef insinto /etc/env.d