From dd207b6ff421b963e7224b537cfcb2ba71a97441 Mon Sep 17 00:00:00 2001 From: Charlie Shepherd Date: Thu, 2 Nov 2006 19:53:53 +0000 Subject: ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild: Touch up ebuild svn path=/; revision=57 --- kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild b/kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild index 1f77eab..019e338 100644 --- a/kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild +++ b/kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild @@ -21,17 +21,20 @@ RDEPEND="" S=${WORKDIR}/${MY_P} src_compile() { - kde_src_compile make + # Only make, don't configure - we don't have a configure script + kde_src_compile make || die 'kde make failed' } -src_unpack(){ +src_unpack() { unpack "${A}" - cd "${S}" + cd "${S}" || die 'you have some real problems now' sed -i -e 's@$(KDEDIR)/bin@$(DESTDIR)/$(KDEDIR)/bin@g' Makefile || die "Couldn't patch Makefile" epatch "${FILESDIR}/${PV}-Makefile.patch" } -src_install(){ - emake install DESTDIR="${D}" - mv ${D}/share ${D}/usr/ +src_install() { + emake install DESTDIR="${D}" || die 'emake install failed' + + # Crazy make install likes to put share in wierd places, correct this + mv ${D}/share ${D}/usr/ || die 'couldn\'t move /share to a sensible location' } -- cgit v1.2.3-65-gdbad