2008-08-20 13:25:53 +02:00
|
|
|
# Copyright 1999-2008 Gentoo Foundation
|
2007-11-23 14:26:48 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
inherit eutils rpm
|
|
|
|
|
|
|
|
MY_PV="${PV/_p/-r}"
|
|
|
|
|
|
|
|
DESCRIPTION="LaCie LightScribe Labeler 4L (binary only GUI)"
|
|
|
|
HOMEPAGE="http://www.lacie.com/products/product.htm?pid=10803"
|
|
|
|
SRC_URI="http://www.lacie.com/download/drivers/4L-${MY_PV}.i586.rpm
|
|
|
|
http://eventi.vnunet.it/images/lacie.png"
|
|
|
|
|
2008-08-20 13:25:53 +02:00
|
|
|
LICENSE="as-is"
|
2007-11-23 14:26:48 +01:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RDEPEND="virtual/libc
|
|
|
|
>=sys-devel/gcc-3.4
|
|
|
|
>=app-cdr/liblightscribe-1.4.113.1
|
|
|
|
x86? ( >=media-libs/fontconfig-2.3.2
|
|
|
|
>=media-libs/freetype-2.1.10
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXcursor
|
|
|
|
x11-libs/libXext
|
|
|
|
x11-libs/libXi
|
|
|
|
x11-libs/libXinerama
|
|
|
|
x11-libs/libXrandr
|
|
|
|
x11-libs/libXrender )
|
2008-08-20 13:25:53 +02:00
|
|
|
|
|
|
|
amd64? ( multilib? ( app-emulation/emul-linux-x86-xlibs
|
|
|
|
app-emulation/emul-linux-x86-compat ) )"
|
2007-11-23 14:26:48 +01:00
|
|
|
|
|
|
|
RESTRICT="mirror strip"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
rpm_src_unpack
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() { :; }
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
exeinto /opt/lightscribe/4L
|
2008-08-20 13:25:53 +02:00
|
|
|
doexe "${WORKDIR}"/usr/4L/4L-*
|
|
|
|
doexe "${WORKDIR}"/usr/4L/lacie*
|
2007-11-23 14:26:48 +01:00
|
|
|
insinto /opt/lightscribe/4L/translations
|
2008-08-20 13:25:53 +02:00
|
|
|
doins -r "${WORKDIR}"/usr/4L/translations/*
|
|
|
|
dodoc "${WORKDIR}"/usr/4L/doc/*
|
2007-11-23 14:26:48 +01:00
|
|
|
docinto templates
|
2008-08-20 13:25:53 +02:00
|
|
|
dodoc "${WORKDIR}"/usr/4L/templates/*
|
2007-11-23 14:26:48 +01:00
|
|
|
into /opt
|
2008-08-20 13:25:53 +02:00
|
|
|
make_wrapper 4L-gui "./4L-gui" /opt/lightscribe/4L
|
2007-11-23 14:26:48 +01:00
|
|
|
dosym /opt/lightscribe/4L/4L-cli /opt/bin/4L-cli
|
|
|
|
|
2008-08-20 13:25:53 +02:00
|
|
|
newicon "${DISTDIR}"/lacie.png ${PN}.png
|
|
|
|
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
|
|
|
|
}
|