summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/unixcw/unixcw-2.3-r1.ebuild')
-rw-r--r--media-radio/unixcw/unixcw-2.3-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-radio/unixcw/unixcw-2.3-r1.ebuild b/media-radio/unixcw/unixcw-2.3-r1.ebuild
new file mode 100644
index 000000000..799012411
--- /dev/null
+++ b/media-radio/unixcw/unixcw-2.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools eutils
+
+DESCRIPTION="A package of programs that fit together to form a morse code tutor program."
+HOMEPAGE="http://radio.linux.org.au/?sectpat=morse"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/apps/ham/morse/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ncurses qt3"
+
+RDEPEND="ncurses? ( sys-libs/ncurses )
+ qt3? ( =x11-libs/qt-3* )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ epatch "${FILESDIR}"/${P}-config.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable ncurses) \
+ $(use_enable qt3)
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README || die "dodoc failed"
+}