app-cdr/nrg2iso - 0.4.1 (gentoo)

Search

Package Information

Description:
Convert CD images from nrg (Nero) to iso
Homepage:
http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.4.1 8 amd64 ppc ~ppc64 ~sparc x86 ~x64-macos 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Convert CD images from nrg (Nero) to iso"
HOMEPAGE="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html"
SRC_URI="
	http://gregory.kokanosky.free.fr/v4/linux/${P}.tar.gz
	test? (
		https://yegortimoshenko.s3.amazonaws.com/${PN}-test.iso
		https://yegortimoshenko.s3.amazonaws.com/${PN}-test.nrg
	)"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	tc-export CC
}

src_compile() {
	emake nrg2iso
}

src_test() {
	einfo "checking that nrg -> iso matches the expected output"
	./nrg2iso "${DISTDIR}"/nrg2iso-test.nrg "${T}"/nrg2iso-test.iso || die "conversion failed"
	diff "${DISTDIR}"/nrg2iso-test.iso "${T}"/nrg2iso-test.iso || die "unexpected iso"
}

src_install() {
	dobin nrg2iso
	einstalldocs
}

USE Flags

Manifest for 0.4.1

Type File Size Source URLs
DIST nrg2iso-0.4.1.tar.gz 14949 bytes http://gregory.kokanosky.free.fr/v4/linux/nrg2iso-0.4.1.tar.gz
DIST nrg2iso-test.iso 55452 bytes https://yegortimoshenko.s3.amazonaws.com/nrg2iso-test.iso
DIST nrg2iso-test.nrg 362652 bytes https://yegortimoshenko.s3.amazonaws.com/nrg2iso-test.nrg