# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils rpm MY_PV="${PV/_p/-r}" DESCRIPTION="Binary only GIU for LightScribe" HOMEPAGE="http://www.lacie.com/products/product.htm?pid=10803" SRC_URI="http://www.lacie.com/download/drivers/4L-${MY_PV}.i586.rpm" LICENSE="Free" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="virtual/libc virtual/x11 >=app-cdr/lightscribe-1.4.113.1 >=media-libs/fontconfig-2.3.2 >=media-libs/freetype-2.1.10 >=sys-devel/gcc-4.0" RESTRICT="nomirror nostrip" src_unpack() { rpm_src_unpack } src_compile() { :; } src_install() { mkdir -p "${D}"/opt/4L/bin || die "mkdir" mv "${WORKDIR}"/usr/4L/* "${D}"/opt/4L || die "mv usr" ln -sf ../4L-gui "${D}"/opt/4L/bin/4L-gui ln -sf ../4L-cli "${D}"/opt/4L/bin/4L-cli chmod -R 755 "${D}"/opt/4L insinto /etc/env.d doins ${FILESDIR}/80LaCie-4L }