diff options
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/dxcc/Manifest | 1 | ||||
-rw-r--r-- | media-radio/dxcc/dxcc-20190309.ebuild | 23 | ||||
-rw-r--r-- | media-radio/dxcc/files/dxcc-20190309-Makefile.patch | 28 |
3 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/dxcc/Manifest b/media-radio/dxcc/Manifest index e41e1bbae01c..2efa61267559 100644 --- a/media-radio/dxcc/Manifest +++ b/media-radio/dxcc/Manifest @@ -1 +1,2 @@ DIST dxcc-20080225.tar.gz 110774 BLAKE2B 45673644fc3fdc0eb3ec072df64ee79441a1c7e5afcbce7e5b33c159eef75c254fe2796086fe9a1781293e8a1671e9cfe872f6ef8446d34f6168ec9cbd9f9fcc SHA512 ef976d5c94b488d3dec132850f9c4da34caf02eee77a8c38a3fce5ccb033ffb848d5814eb72756d04235b9cc454f17f4c31aa47295c9e9cecec716ff32bf3df7 +DIST dxcc-20190309.tar.gz 175488 BLAKE2B 46ef8e87e0c70b4d58f3a6533f651aff078502705206f145dc25b5380db0019faa49dbb9003896c4ace33f35d59b349155bb77584d235700ea4532f71744fb44 SHA512 c7bad51ade05d60aa077b24c87bf5370728038503e190808eb774b307089269fe21d068f86487455ec1b23e5b90a560ef53794834ffe7e6eefc6fd78effdec21 diff --git a/media-radio/dxcc/dxcc-20190309.ebuild b/media-radio/dxcc/dxcc-20190309.ebuild new file mode 100644 index 000000000000..15db7073ef8c --- /dev/null +++ b/media-radio/dxcc/dxcc-20190309.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/Tk )" + +PATCHES=( "${FILESDIR}/${P}-Makefile.patch" ) + +src_install() { + emake DESTDIR="${D}/usr" install + dodoc README ChangeLog +} diff --git a/media-radio/dxcc/files/dxcc-20190309-Makefile.patch b/media-radio/dxcc/files/dxcc-20190309-Makefile.patch new file mode 100644 index 000000000000..fd7cc1f93fad --- /dev/null +++ b/media-radio/dxcc/files/dxcc-20190309-Makefile.patch @@ -0,0 +1,28 @@ +--- a/Makefile 2019-04-19 16:57:54.143313171 +0200 ++++ b/Makefile 2019-04-19 17:00:33.507620050 +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 *~ |