summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-11-02 19:53:53 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-11-02 19:53:53 +0000
commitdd207b6ff421b963e7224b537cfcb2ba71a97441 (patch)
tree25f5c1315a740884ada226cf23f0971e81aee0a2
parentgenstef/kde-base/rkward: Add kde-base/rkward (diff)
downloadgenstef-dd207b6ff421b963e7224b537cfcb2ba71a97441.tar.gz
genstef-dd207b6ff421b963e7224b537cfcb2ba71a97441.tar.bz2
genstef-dd207b6ff421b963e7224b537cfcb2ba71a97441.zip
ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild: Touch up ebuild
svn path=/; revision=57
-rw-r--r--kde-base/ktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild15
1 files 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'
}