Skip to content

Commit

Permalink
app-cdr/ccd2iso: EAPI="6", correct LICENSE, epatch -> eapply, Mac
Browse files Browse the repository at this point in the history
Closes: gentoo#4665
  • Loading branch information
lukateras authored and mgorny committed May 18, 2017
1 parent 5591ca1 commit f10528b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 23 deletions.
20 changes: 6 additions & 14 deletions app-cdr/ccd2iso/ccd2iso-0.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils
EAPI="6"

DESCRIPTION="Converts CloneCD images (popular under Windows) to ISOs"
DESCRIPTION="Convert CD images from ccd (CloneCD) to iso"
HOMEPAGE="https://sourceforge.net/projects/ccd2iso/"
SRC_URI="mirror://sourceforge/ccd2iso/${P}.tar.gz"

LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""

DEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-headers.patch
}
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
PATCHES=( "${FILESDIR}/${P}-headers.patch" )

src_install() {
emake install DESTDIR="${D}" || die
emake install DESTDIR="${D}"
dodoc AUTHORS ChangeLog NEWS README TODO
}
4 changes: 2 additions & 2 deletions app-cdr/ccd2iso/files/ccd2iso-0.3-headers.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- src/ccd2iso.c.orig 2007-04-01 03:00:14.000000000 -0400
+++ src/ccd2iso.c 2007-04-01 03:00:57.000000000 -0400
--- ccd2iso-0.3/src/ccd2iso.c 2007-04-01 03:00:14.000000000 -0400
+++ ccd2iso-0.3/src/ccd2iso.c 2007-04-01 03:00:57.000000000 -0400
@@ -27,6 +27,7 @@

#include <stdio.h>
Expand Down
14 changes: 7 additions & 7 deletions app-cdr/ccd2iso/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>
CloneCD image to ISO image file converter
</longdescription>
<upstream>
<remote-id type="sourceforge">ccd2iso</remote-id>
</upstream>
<maintainer type="person">
<email>[email protected]</email>
<name>Yegor Timoshenko</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">ccd2iso</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit f10528b

Please sign in to comment.