linamh/app-cdr/lightscribe-simplelabler/lightscribe-simplelabler-1.4.128.1.ebuild

52 lines
1.3 KiB
Bash
Raw Normal View History

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
DESCRIPTION="Binary only GIU for LightScribe"
HOMEPAGE="http://www.lightscribe.com/"
SRC_URI="http://download.lightscribe.com/ls/lightScribeSimpleLabeler-${PV}-linux-2.6-intel.rpm"
LICENSE="HP-LightScribe"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
sys-libs/libstdc++-v3
>=app-cdr/liblightscribe-1.4.113.1
>=media-libs/fontconfig-2.3.2
>=media-libs/freetype-2.1.10
>=media-libs/libpng-1.2.8
>=x11-libs/qt-4.0.1
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
sys-devel/gcc
sys-libs/zlib"
RESTRICT="mirror strip"
src_unpack() {
rpm_src_unpack
}
src_compile() { :; }
src_install() {
into /opt/lightscribe/SimpleLabeler
dobin ${WORKDIR}/opt/lightscribeApplications/SimpleLabeler/SimpleLabeler
dobin ${WORKDIR}/opt/lightscribeApplications/SimpleLabeler/*.*
insinto /opt/lightscribe/SimpleLabeler/bin/content
doins -r ${WORKDIR}/opt/lightscribeApplications/SimpleLabeler/content/*
dodoc ${WORKDIR}/opt/lightscribeApplications/*.*
newicon ${WORKDIR}/opt/lightscribeApplications/SimpleLabeler/content/images/LabelWizardIcon.png ${PN}.png
make_desktop_entry /opt/lightscribe/SimpleLabeler/bin/SimpleLabeler "LightScribe Simple Labeler" ${PN}.png AudioVideo
}