e34943b601
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@259 6952d904-891a-0410-993b-d76249ca496b
49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils rpm multilib
|
|
|
|
DESCRIPTION="Binary only Library for LightScribe"
|
|
HOMEPAGE="http://www.lightscribe.com/"
|
|
SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
|
|
http://download.lightscribe.com/ls/lightscribePublicSDK-${PV}-linux-2.6-intel.rpm"
|
|
|
|
LICENSE="HP-LightScribe"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE="multilib"
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="virtual/libc
|
|
sys-libs/libstdc++-v3"
|
|
|
|
RESTRICT="mirror strip"
|
|
|
|
src_unpack() {
|
|
rpm_src_unpack
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
has_multilib_profile && ABI="x86"
|
|
|
|
insinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
|
doins -r ${WORKDIR}/usr/lib/lightscribe/*
|
|
into /opt/liblightscribe
|
|
dolib.so ${WORKDIR}/usr/lib/liblightscribe.so.*
|
|
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
|
insinto /usr/include/liblightsribe
|
|
doins -r ${WORKDIR}/usr/include/*
|
|
insinto /etc
|
|
doins -r ${WORKDIR}/etc/*
|
|
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
|
dodoc ${WORKDIR}/usr/share/doc/*.*
|
|
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/*.*
|
|
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/docs/*
|
|
docinto example
|
|
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/*
|
|
doenvd ${FILESDIR}/80liblightscribe
|
|
} |