43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
|
# Copyright 1999-2007 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: $
|
||
|
|
||
|
inherit eutils rpm
|
||
|
|
||
|
DESCRIPTION="Binary only Library for LightScribe"
|
||
|
HOMEPAGE="http://www.lightscribe.com/"
|
||
|
SRC_URI="http://www.lightscribe.com/downloadSection/linux/downloads/lss/lightscribe-${PV}-linux-2.6-intel.rpm
|
||
|
http://www.lightscribe.com/downloadSection/linux/downloads/lpSDK/lightscribePublicSDK-${PV}-linux-2.6-intel.rpm"
|
||
|
|
||
|
LICENSE="HP-LightScribe"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND=""
|
||
|
|
||
|
RDEPEND="virtual/libc
|
||
|
sys-libs/libstdc++-v3"
|
||
|
|
||
|
RESTRICT="nomirror nostrip"
|
||
|
|
||
|
src_unpack() {
|
||
|
rpm_src_unpack
|
||
|
}
|
||
|
|
||
|
src_compile() { :; }
|
||
|
|
||
|
src_install() {
|
||
|
dodoc ${WORKDIR}/usr/share/doc/*
|
||
|
insinto /opt/liblightscribe/lib/lightscribe
|
||
|
doins -r ${WORKDIR}/usr/lib/lightscribe/*
|
||
|
insinto /opt/liblightscribe/lib
|
||
|
doins ${WORKDIR}/usr/lib/liblightscribe.so.*
|
||
|
dosym /opt/liblightscribe/lib/liblightscribe.so.1 /opt/liblightscribe/lib/liblightscribe.so
|
||
|
insinto /usr/include/liblightsribe
|
||
|
doins -r ${WORKDIR}/usr/include/*
|
||
|
insinto /etc
|
||
|
doins -r ${WORKDIR}/etc/*
|
||
|
dosed "s%/usr/lib%/opt/liblightscribe/lib%" /etc/lightscribe.rc
|
||
|
doenvd ${FILESDIR}/80liblightscribe
|
||
|
}
|