d2445030fe
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@50 6952d904-891a-0410-993b-d76249ca496b
40 lines
982 B
Bash
40 lines
982 B
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.lacie.com/products/product.htm?pid=10803"
|
|
SRC_URI="http://www.lacie.com/download/drivers/lightscribe-${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/lightscribe/lib/lightscribe
|
|
doins -r ${WORKDIR}/usr/lib/lightscribe/*
|
|
insinto /opt/lightscribe/lib
|
|
doins ${WORKDIR}/usr/lib/liblightscribe.so.*
|
|
dosym /opt/lightscribe/lib/liblightscribe.so.1 /opt/lightscribe/lib/liblightscribe.so
|
|
insinto /etc
|
|
doins -r ${WORKDIR}/etc/*
|
|
dosed "s%/usr/lib%/opt/lightscribe/lib%" /etc/lightscribe.rc
|
|
doenvd ${FILESDIR}/80liblightscribe
|
|
} |