diff options
-rw-r--r-- | net-misc/kphone/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/kphone/files/kphone-4.0.3-makefile.diff | 36 | ||||
-rw-r--r-- | net-misc/kphone/kphone-4.0.3.ebuild | 18 |
3 files changed, 53 insertions, 6 deletions
diff --git a/net-misc/kphone/ChangeLog b/net-misc/kphone/ChangeLog index 60c9ba772178..d5d181424f10 100644 --- a/net-misc/kphone/ChangeLog +++ b/net-misc/kphone/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/kphone # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/kphone/ChangeLog,v 1.22 2004/07/04 08:59:30 centic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/kphone/ChangeLog,v 1.23 2004/07/25 16:18:47 carlo Exp $ + + 25 Jul 2004; Carsten Lohrke <carlo@gentoo.org> kphone-4.0.3.ebuild: + missing icons patch, #53648 *kphone-4.0.3 (04 Jul 2004) diff --git a/net-misc/kphone/files/kphone-4.0.3-makefile.diff b/net-misc/kphone/files/kphone-4.0.3-makefile.diff new file mode 100644 index 000000000000..7d3d3f7a1979 --- /dev/null +++ b/net-misc/kphone/files/kphone-4.0.3-makefile.diff @@ -0,0 +1,36 @@ +--- icons/Makefile.in.orig 2004-07-22 03:24:30.526934416 +0200 ++++ icons/Makefile.in 2004-07-22 03:26:30.330721472 +0200 +@@ -4,12 +4,12 @@ + ICON_DIR=$(SHAREDIR)/icons + + install: +- install --mode=0755 --directory $(ICON_DIR) ++ install --mode=0755 --directory $(DESTDIR)$(ICON_DIR) + for T in *.png; do \ +- install --mode=0644 $$T $(ICON_DIR); \ ++ install --mode=0644 $$T $(DESTDIR)$(ICON_DIR); \ + done + + uninstall: +- rm -r $(ICON_DIR) +- rm -r $(SHAREDIR) ++ rm -r $(DESTDIR)$(ICON_DIR) ++ rm -r $(DESTDIR)$(SHAREDIR) + +--- kphone/Makefile.in.orig 2004-07-22 03:24:36.549018920 +0200 ++++ kphone/Makefile.in 2004-07-22 03:26:07.222234496 +0200 +@@ -52,11 +52,11 @@ + all: kphone + + install: all +- install --mode=0755 --directory $(BIN_DIR) +- install --strip kphone $(BIN_DIR) ++ install --mode=0755 --directory $(DESTDIR)$(BIN_DIR) ++ install --strip kphone $(DESTDIR)$(BIN_DIR) + + uninstall: +- rm -f $(BIN_DIR)/kphone ++ rm -f $(DESTDIR)$(BIN_DIR)/kphone + + clean: + rm -f kphone *.o *.a *~ *.moc.cpp *.bak core diff --git a/net-misc/kphone/kphone-4.0.3.ebuild b/net-misc/kphone/kphone-4.0.3.ebuild index 5d2e5666a31a..dccc34dae82b 100644 --- a/net-misc/kphone/kphone-4.0.3.ebuild +++ b/net-misc/kphone/kphone-4.0.3.ebuild @@ -1,13 +1,12 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/kphone/kphone-4.0.3.ebuild,v 1.1 2004/07/04 08:59:31 centic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/kphone/kphone-4.0.3.ebuild,v 1.2 2004/07/25 16:18:47 carlo Exp $ -inherit kde -need-kde 3 +inherit eutils kde DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." -SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" HOMEPAGE="http://www.wirlab.net/kphone/index.html" +SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" KEYWORDS="~x86" LICENSE="GPL-2" @@ -16,9 +15,18 @@ IUSE="" SLOT="0" S=${WORKDIR}/kphone + +need-kde 3 + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-makefile.diff +} src_compile(){ # Fix for our kde location - myconf="$myconf --with-extra-libs=$KDEDIR/lib --datadir=${D}/usr/share --prefix=${D}/usr" + myconf="$myconf --with-extra-libs=$KDEDIR/lib --prefix=/usr" econf ${myconf} || die "econf failed" emake } |