summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/cwtext/cwtext-0.94.ebuild')
-rw-r--r--app-text/cwtext/cwtext-0.94.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/app-text/cwtext/cwtext-0.94.ebuild b/app-text/cwtext/cwtext-0.94.ebuild
index 8bdc5e14f4ce..81cd6a298526 100644
--- a/app-text/cwtext/cwtext-0.94.ebuild
+++ b/app-text/cwtext/cwtext-0.94.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cwtext/cwtext-0.94.ebuild,v 1.13 2008/04/07 20:18:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cwtext/cwtext-0.94.ebuild,v 1.14 2009/01/04 15:09:35 angelos Exp $
-inherit toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="Text to Morse Code converter"
HOMEPAGE="http://cwtext.sourceforge.net"
-SRC_URI="mirror://sourceforge/cwtext/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-KEYWORDS="amd64 mips ppc sparc x86"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 mips ppc sparc x86"
IUSE=""
src_unpack() {
@@ -21,15 +21,12 @@ src_unpack() {
sed -i -e "/^PREFIX/ s:=.*:=\"${S}\":" makefile || \
die "sed makefile failed"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
tc-export CC
}
-src_compile() {
- emake install || die
-}
-
src_install() {
- dobin cwtext cwpcm cwmm
+ dobin cwtext cwpcm cwmm || die "dobin failed"
dodoc Changes README TODO
}