summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-09-12 14:10:02 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-09-12 14:10:02 +0000
commit2f02831a40d57529ddffb17fc8b7150bab343be8 (patch)
tree46616a96ee656a1552e5b17ed1fa001c52144d86 /media-radio/dxcc
parentStable on amd64 wrt bug #336083 (diff)
downloadgentoo-2-2f02831a40d57529ddffb17fc8b7150bab343be8.tar.gz
gentoo-2-2f02831a40d57529ddffb17fc8b7150bab343be8.tar.bz2
gentoo-2-2f02831a40d57529ddffb17fc8b7150bab343be8.zip
Initial portage version, moved from sunrise. Bug #265350
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-radio/dxcc')
-rw-r--r--media-radio/dxcc/ChangeLog10
-rw-r--r--media-radio/dxcc/dxcc-20080225.ebuild28
-rw-r--r--media-radio/dxcc/files/Makefile.patch28
-rw-r--r--media-radio/dxcc/metadata.xml9
4 files changed, 75 insertions, 0 deletions
diff --git a/media-radio/dxcc/ChangeLog b/media-radio/dxcc/ChangeLog
new file mode 100644
index 000000000000..60c2afe7d5e3
--- /dev/null
+++ b/media-radio/dxcc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-radio/dxcc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/dxcc/ChangeLog,v 1.1 2010/09/12 14:10:01 tomjbe Exp $
+
+*dxcc-20080225 (12 Sep 2010)
+
+ 12 Sep 2010; Thomas Beierlein <tomjbe@gentoo.org> +dxcc-20080225.ebuild,
+ +files/Makefile.patch, +metadata.xml:
+ Initial portage version, moved from sunrise. Bug #265350
+
diff --git a/media-radio/dxcc/dxcc-20080225.ebuild b/media-radio/dxcc/dxcc-20080225.ebuild
new file mode 100644
index 000000000000..0452afce50b9
--- /dev/null
+++ b/media-radio/dxcc/dxcc-20080225.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/dxcc/dxcc-20080225.ebuild,v 1.1 2010/09/12 14:10:01 tomjbe Exp $
+
+inherit eutils
+
+DESCRIPTION="A ham radio callsign DXCC lookup utility"
+HOMEPAGE="http://fkurz.net/ham/dxcc.html"
+SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/perl-tk )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/Makefile.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install || die "emake failed"
+ dodoc README ChangeLog || die "dodoc failed"
+}
diff --git a/media-radio/dxcc/files/Makefile.patch b/media-radio/dxcc/files/Makefile.patch
new file mode 100644
index 000000000000..d4f391bed094
--- /dev/null
+++ b/media-radio/dxcc/files/Makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.orig 2009-04-07 19:10:23.000000000 +0200
++++ Makefile 2009-04-07 19:11:12.000000000 +0200
+@@ -4,19 +4,22 @@
+ DESTDIR ?= /usr
+
+ all:
+- @echo -e "dxcc - make [install|uninstall|clean|dist] \nCheck README for help."
+
+ install:
+- install -d -v $(DESTDIR)/share/man/man1/
+- install -d -v $(DESTDIR)/share/dxcc/
++ install -d $(DESTDIR)/share/man/man1/
++ install -d $(DESTDIR)/share/dxcc/
++ install -d $(DESTDIR)/share/pixmaps/
++ install -d $(DESTDIR)/bin/
+ install -m 0644 dxcc.1 $(DESTDIR)/share/man/man1/
+ install -m 0644 earth.gif $(DESTDIR)/share/dxcc/
++ install -m 0644 dxcc.png $(DESTDIR)/share/pixmaps/
+ install -m 0755 dxcc $(DESTDIR)/bin/
+
+ uninstall:
+ rm -f $(DESTDIR)/bin/dxcc
+ rm -f $(DESTDIR)/share/man/man1/dxcc.1
+ rm -f $(DESTDIR)/share/dxcc/earth.gif
++ rm -r $(DESTDIR)/share/pixmaps/dxcc.png
+
+ clean:
+ rm -f *~
diff --git a/media-radio/dxcc/metadata.xml b/media-radio/dxcc/metadata.xml
new file mode 100644
index 000000000000..6f4002893236
--- /dev/null
+++ b/media-radio/dxcc/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>