View Single Post
Old 19-05-2007   #53 (permalink)
semson
New on Forum
 
Join Date: May 2007
Posts: 2
Re: Nero Linux 3 beta is now available for download

Quote:
Originally Posted by marcus0263
Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/nero/nero-2.1.0.3.ebuild,v 1.3 2007/02/12 00:58:34 wschlich Exp $

inherit eutils rpm multilib

MY_PV=${PV/_beta/-beta}

DESCRIPTION=" Nero Burning ROM for Linux"
HOMEPAGE="http://nerolinux.nero.com/"
NERO_RPM="nerolinux-3.0.0.0-beta-x86.rpm"
SRC_URI="http://httpdl3.de.nero.com/${NERO_RPM}
	http://httpdl4.de.nero.com/${NERO_RPM}
	http://httpdl5.de.nero.com/${NERO_RPM}
	http://httpdl6.de.nero.com/${NERO_RPM}
	ftp://ftp3.de.nero.com/${NERO_RPM}
	ftp://ftp4.de.nero.com/${NERO_RPM}
	ftp://ftp5.de.nero.com/${NERO_RPM}
	ftp://ftp6.de.nero.com/${NERO_RPM}
	ftp://ftp10.de.nero.com/${NERO_RPM}"
LICENSE="Nero"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="sys-libs/glibc
	|| ( x11-libs/libX11 virtual/x11 )
	>=x11-libs/gtk+-2.0
	amd64? ( >=app-emulation/emul-linux-x86-gtklibs-2.0 )"

RESTRICT="nostrip nomirror"

src_unpack() {
	rpm_src_unpack
}

src_compile() { :; }

src_install() {
	cd ${WORKDIR}

	dodir /usr/share/nero
	insinto /usr/share/nero
	doins ./usr/share/nero/{DosBootImage.ima,Nero.txt,CDROM.CFG}
	doins -r ./usr/share/nero/images
	doins -r ./usr/share/nero/sounds
	
	dodir /usr/share/doc/nero
	insinto /usr/share/doc/nero
	doins ./usr/share/doc/nero/{Manual.pdf,NEWS}
	doins ./usr/share/doc/nero/EULA*
	
	domenu ./usr/share/applications/nerolinux.desktop
	
	dodir /usr/share
	insinto /usr/share
	doins -r ./usr/share/locale

	libdir=$(get_libdir)
	dodir /usr/${libdir}
	insinto /usr/${libdir}
	doins -r ./usr/lib/nero
	doins ./usr/lib/*.so

	dobin ./usr/bin/nero
}

pkg_setup() {
	# This is a binary x86 package => ABI=x86
	has_multilib_profile && ABI="x86"
}

# TODO
# pkg_preinst() {
# 	check_license
# }

pkg_postinst() {
	elog
	elog "Please make sure that no hdX=ide-scsi option is passed"
	elog "to your kernel command line."
	elog
	elog "For setting up your burning device correctly you also"
	elog "have to give your regular user(s) read/write access to"
	elog "the disc writer devices, for example by adding the user(s)"
	elog "to the system group 'cdrom', e.g. like this:"
	elog
	elog "\tgpasswd -a  cdrom"
	elog
	elog "Technical support for NeroLINUX is provided by CDFreaks"
	elog "Linux forum at http://club.cdfreaks.com/forumdisplay.php?f=104"
	elog
}
Works like a charm

So far I like what I see!!!!!!!!
hi marcus0263, the ebuild works, but i need to amend the download location by myself to
Quote:
SRC_URI="ftp://ftp4.usw.nero.com/software/NeroLINUX/${NERO_RPM}
semson is offline   Reply With Quote