app-cdr/liblightscribe: rename lib to make revdep-rebuild happy
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1208 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
afa84f9c50
commit
2875b9c560
@ -2,6 +2,12 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*liblightscribe-1.18.4.1-r2 (15 May 2009)
|
||||
|
||||
15 May 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.4.1-r2.ebuild:
|
||||
rename lib to make revdep-rebuild happy
|
||||
|
||||
* liblightscribe-1.18.4.1-r1 (25 Apr 2009)
|
||||
* liblightscribe-1.18.4.1 (25 Apr 2009)
|
||||
|
||||
|
@ -18,6 +18,7 @@ EBUILD liblightscribe-1.18.1.1.ebuild 2354 RMD160 109caff212c09f9727d6b6f99c94c6
|
||||
EBUILD liblightscribe-1.18.2.1.ebuild 2322 RMD160 ea5d81416e5fcbaa9c1bddef136035acea8fa7ff SHA1 3f0bc08c946754a1eea5354cedc716c58b01399f SHA256 efb193c5a6786785575fea13ac3a83b416f9414aafd8258269e7f63ce25f3079
|
||||
EBUILD liblightscribe-1.18.3.2.ebuild 2579 RMD160 a32afe305bfcb18409e88099ff58bd00fefd69b3 SHA1 c0c5d35cccb16f36d3b5761806cd2ffe4ef9f58f SHA256 96a52f2960268db4b4f0f377cf5a5e0a0f96435ab1290686ee250001b7245171
|
||||
EBUILD liblightscribe-1.18.4.1-r1.ebuild 3028 RMD160 c50f66c8eb846edbd0f37802f05d22684d364541 SHA1 71bcff1339a926d9a4225179bf8ae0da4b12382f SHA256 ec80064543bf8d8a74dc7cbe65a27e3a6c9be217bb351c19b047c43b148cba61
|
||||
EBUILD liblightscribe-1.18.4.1.ebuild 3029 RMD160 f62b154dd3df9c5635b3fe1acb2466b545636003 SHA1 ad11b4350b2c2658e9d1760db21e76fb9a07ef76 SHA256 0a66129460342497dc4a609e9ef6e306519c9a72c43ab7ba45ad7f5202199f2f
|
||||
MISC ChangeLog 4375 RMD160 a79a8d3e035a53edd4727f022fd7bd7111b0a9b9 SHA1 ab7527dd3dcea69fd0a940f64e0c2b2c7253ae96 SHA256 6e7b0d41392f89ca35cbb70d903980f0e68486c62cb7014000d096f473917756
|
||||
EBUILD liblightscribe-1.18.4.1-r2.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
|
||||
EBUILD liblightscribe-1.18.4.1.ebuild 3028 RMD160 c50f66c8eb846edbd0f37802f05d22684d364541 SHA1 71bcff1339a926d9a4225179bf8ae0da4b12382f SHA256 ec80064543bf8d8a74dc7cbe65a27e3a6c9be217bb351c19b047c43b148cba61
|
||||
MISC ChangeLog 4550 RMD160 e023102edbfebb2027976f279a02b25e45864ef2 SHA1 b3570803b4c8956536248428b5c42af2d77c132f SHA256 2b4df301c7605a8ac7ed3082705809c295725de1451ca3d29931bbab19f9d17b
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
84
app-cdr/liblightscribe/liblightscribe-1.18.4.1-r2.ebuild
Normal file
84
app-cdr/liblightscribe/liblightscribe-1.18.4.1-r2.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils rpm multilib flag-o-matic
|
||||
|
||||
SDK_PV=1.14.32.1
|
||||
|
||||
DESCRIPTION="LightScribe System Software (binary only library)."
|
||||
HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/index.aspx"
|
||||
SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
|
||||
http://download.lightscribe.com/ls/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm"
|
||||
|
||||
LICENSE="lightscribe lightscribeSDK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="multilib -hardened"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( sys-libs/libstdc++-v3[multilib] )"
|
||||
|
||||
RESTRICT="mirror strip fetch"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
# make revdep-rebuild happy
|
||||
mv "${WORKDIR}"/usr/lib/liblightscribe.so.1 "${WORKDIR}"/usr/lib/liblightscribe.so.0.0.1
|
||||
|
||||
# hack in to use provided libstdc++ rename it to libstdcv3
|
||||
mv "${WORKDIR}"/usr/lib/lightscribe/libstdc++.so.5.0.7 "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.5.0.7
|
||||
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" "${WORKDIR}"/usr/lib/liblightscribe.so.0.0.1
|
||||
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.5.0.7
|
||||
|
||||
exeinto /opt/lightscribe/$(get_libdir)/lightscribe/updates
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh || die "fallback.sh install failed"
|
||||
exeinto /opt/lightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh || die "elcu.sh install failed"
|
||||
into /opt/lightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.* || die "liblightscribe.so.* install failed"
|
||||
dolib.so "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.* || die "libstdcv3.so.* install failed"
|
||||
dosym liblightscribe.so.0.0.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so.1
|
||||
dosym liblightscribe.so.0.0.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightscribe
|
||||
doins -r "${WORKDIR}"/usr/include/* || die "includes install failed"
|
||||
insinto /etc
|
||||
doins -r "${WORKDIR}"/etc/* || die "config install failed"
|
||||
dosed "s%/usr/lib%/opt/lightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
||||
dodoc "${WORKDIR}"/usr/share/doc/*.* \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/*.* \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/docs/* || die "doc install failed"
|
||||
docinto sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/* || die "lsprint sample install failed"
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/opt/lightscribe/$(get_libdir)" > "${D}"/etc/env.d/80lightscribe
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This version also support Enhanced Contrast"
|
||||
einfo "You can activate it by running:"
|
||||
einfo "/opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
||||
einfo
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download the appropriate Lightscribe System Software & Linux Public SDK archive's"
|
||||
einfo "( lightscribe-${PV}-linux-2.6-intel.rpm"
|
||||
einfo " lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm )"
|
||||
einfo "from ${HOMEPAGE} (requires to accept license)"
|
||||
einfo
|
||||
einfo "Then put the file in ${DISTDIR}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user