app-arch/xdms: revision bump to avoid calling prepalldocs
authorMichael Palimaka <kensington@gentoo.org>
Wed, 29 Jun 2016 17:32:20 +0000 (03:32 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 29 Jun 2016 17:32:41 +0000 (03:32 +1000)
Gentoo-bug: 587256

Package-Manager: portage-2.3.0

app-arch/xdms/xdms-1.3.2-r1.ebuild [new file with mode: 0644]

diff --git a/app-arch/xdms/xdms-1.3.2-r1.ebuild b/app-arch/xdms/xdms-1.3.2-r1.ebuild
new file mode 100644 (file)
index 0000000..86711fc
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="xDMS - Amiga DMS disk image decompressor"
+HOMEPAGE="http://zakalwe.fi/~shd/foss/xdms"
+SRC_URI="http://zakalwe.fi/~shd/foss/xdms/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+pkg_setup() {
+       tc-export CC
+}
+
+src_prepare() {
+       default
+       sed -i Makefile.in \
+               -e "s:COPYING::" \
+               -e "s:share/doc/xdms-{VERSION}:share/doc/xdms-${PF}:" || die
+       sed -i -e "s:-O2::" src/Makefile.in || die
+}
+
+src_configure() {
+       ./configure --prefix=/usr --package-prefix="${D}" || die
+}