summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-04-21 21:05:32 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-04-21 21:05:36 +0100
commit16dea1437cb55c11a75b5b018e4ca18b501700d7 (patch)
treec89b18830b0a4ea43d329bfc617c1a2a8979bbce /sys-apps
parentdev-python/easy-thumbnails: Retake for python@ (diff)
downloadgentoo-16dea1437cb55c11a75b5b018e4ca18b501700d7.tar.gz
gentoo-16dea1437cb55c11a75b5b018e4ca18b501700d7.tar.bz2
gentoo-16dea1437cb55c11a75b5b018e4ca18b501700d7.zip
sys-apps/zorroutils: bump up to 0.05
Reported-by: Michał Górny Closes: https://bugs.gentoo.org/696776 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/zorroutils/Manifest1
-rw-r--r--sys-apps/zorroutils/files/zorroutils-0.05-fix-build-system.patch14
-rw-r--r--sys-apps/zorroutils/zorroutils-0.05.ebuild33
3 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/zorroutils/Manifest b/sys-apps/zorroutils/Manifest
index c35fb560fd29..0150b6d219e4 100644
--- a/sys-apps/zorroutils/Manifest
+++ b/sys-apps/zorroutils/Manifest
@@ -1 +1,2 @@
DIST zorroutils-0.04.tar.gz 12205 BLAKE2B b5818073551b39d715c8e8fbaaba2b827a7a4f4442bac76876037721d1202cf5893779cd22fba0451d2a0e7eb15266b08af242a1fa1c6be3eff2e65949523803 SHA512 e00a621cc64f3c50ae940809eb79ee145dab7d042e5a2b7fafe14bc7f9f85ff2e1b592d8922e628c5dbcecab95e6bd634d0cbbc1cc84f72136a5235480e6274f
+DIST zorroutils-0.05.tar.gz 15428 BLAKE2B e9baa6de4da3cbc6754c52d9e0c1fe34ce735b4d5377772c1765bdd30ae988f92125a5f254fcaab797eed33d65dad59e2a385fba3fc4610a9cfb6c34c6b45e7e SHA512 5260cfc7ccf77d0a0fe012c32ab492824903cb0f1397a82cf4c52aa12df5845b9e3d53aa1f619cc3a0637dfb42e9b75f80d715e4e912c5b8f42e0588f9053421
diff --git a/sys-apps/zorroutils/files/zorroutils-0.05-fix-build-system.patch b/sys-apps/zorroutils/files/zorroutils-0.05-fix-build-system.patch
new file mode 100644
index 000000000000..3b981116b89e
--- /dev/null
+++ b/sys-apps/zorroutils/files/zorroutils-0.05-fix-build-system.patch
@@ -0,0 +1,14 @@
+Respect user variables
+
+--- a/Makefile
++++ b/Makefile
+@@ -2,9 +2,5 @@
+ # Makefile for Linux Zorro Utilities
+ # Copyright (C) 1998--2000 Geert Uytterhoeven <geert@linux-m68k.org>
+
+-CC=gcc
+-OPT=-O3 -fomit-frame-pointer
+-CFLAGS+=$(OPT) -Wall
+-
+ PREFIX=/usr
+
diff --git a/sys-apps/zorroutils/zorroutils-0.05.ebuild b/sys-apps/zorroutils/zorroutils-0.05.ebuild
new file mode 100644
index 000000000000..f5e28bc3f6ca
--- /dev/null
+++ b/sys-apps/zorroutils/zorroutils-0.05.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Zorro bus utility for Amigas running 2.1 and later kernels"
+HOMEPAGE="http://users.telenet.be/geertu/Download/#zorro"
+SRC_URI="https://github.com/glaubitz/zorroutils/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~m68k ~ppc"
+
+PATCHES=(
+ #"${FILESDIR}"/${PN}-0.04-20021014.diff
+ #"${FILESDIR}"/${PN}-gentoo.diff
+ "${FILESDIR}"/${PN}-0.05-fix-build-system.patch
+)
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ dosbin lszorro
+ einstalldocs
+ doman *.8
+
+ insinto /usr/share/misc
+ doins zorro.ids
+}