app-cdr/liblightscribe: die on all do*
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1035 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
f781a81c37
commit
18d65f5797
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
17 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
+liblightscribe-1.18.3.2.ebuild:
|
||||||
|
die on all do*
|
||||||
|
|
||||||
16 Mar 2009; Mario Fetka <mario.fetka@gmail.com>
|
16 Mar 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
+liblightscribe-1.18.2.1.ebuild:
|
+liblightscribe-1.18.2.1.ebuild:
|
||||||
now EAPI=2
|
now EAPI=2
|
||||||
|
@ -15,6 +15,6 @@ EBUILD liblightscribe-1.14.32.1.ebuild 2255 RMD160 981b4723773f87595e7237f7e678d
|
|||||||
EBUILD liblightscribe-1.18.1.1-r1.ebuild 2321 RMD160 da33b35f5031879dd9847bd4959cb6ef60d27afa SHA1 aea9390f80ee4f5bf2513907eded0e1ace443ecd SHA256 f64195a0f5afe047a82a0ef3a2042e65d5bf7dc3db4804253315d6e4cd1c1b7d
|
EBUILD liblightscribe-1.18.1.1-r1.ebuild 2321 RMD160 da33b35f5031879dd9847bd4959cb6ef60d27afa SHA1 aea9390f80ee4f5bf2513907eded0e1ace443ecd SHA256 f64195a0f5afe047a82a0ef3a2042e65d5bf7dc3db4804253315d6e4cd1c1b7d
|
||||||
EBUILD liblightscribe-1.18.1.1.ebuild 2354 RMD160 109caff212c09f9727d6b6f99c94c6954fde9ad0 SHA1 31632e8c4bc8fd4de08de8eba47831fe1f3297f6 SHA256 dcbdefc419f70cf896f6413a24908fe4da038ae22fa20b18c13a3fdc4ce4f17a
|
EBUILD liblightscribe-1.18.1.1.ebuild 2354 RMD160 109caff212c09f9727d6b6f99c94c6954fde9ad0 SHA1 31632e8c4bc8fd4de08de8eba47831fe1f3297f6 SHA256 dcbdefc419f70cf896f6413a24908fe4da038ae22fa20b18c13a3fdc4ce4f17a
|
||||||
EBUILD liblightscribe-1.18.2.1.ebuild 2322 RMD160 ea5d81416e5fcbaa9c1bddef136035acea8fa7ff SHA1 3f0bc08c946754a1eea5354cedc716c58b01399f SHA256 efb193c5a6786785575fea13ac3a83b416f9414aafd8258269e7f63ce25f3079
|
EBUILD liblightscribe-1.18.2.1.ebuild 2322 RMD160 ea5d81416e5fcbaa9c1bddef136035acea8fa7ff SHA1 3f0bc08c946754a1eea5354cedc716c58b01399f SHA256 efb193c5a6786785575fea13ac3a83b416f9414aafd8258269e7f63ce25f3079
|
||||||
EBUILD liblightscribe-1.18.3.2.ebuild 2322 RMD160 ea5d81416e5fcbaa9c1bddef136035acea8fa7ff SHA1 3f0bc08c946754a1eea5354cedc716c58b01399f SHA256 efb193c5a6786785575fea13ac3a83b416f9414aafd8258269e7f63ce25f3079
|
EBUILD liblightscribe-1.18.3.2.ebuild 2579 RMD160 a32afe305bfcb18409e88099ff58bd00fefd69b3 SHA1 c0c5d35cccb16f36d3b5761806cd2ffe4ef9f58f SHA256 96a52f2960268db4b4f0f377cf5a5e0a0f96435ab1290686ee250001b7245171
|
||||||
MISC ChangeLog 4054 RMD160 fa8c5e59404d91c5125a68de419cf6f3ccc866d8 SHA1 acd10c93ea20b7fef4e014ff89cb26ec274e949d SHA256 4d03fda4aac74ad2c03c295cd37923b92595ac85981043bef35f2af7b481cdd5
|
MISC ChangeLog 4158 RMD160 2303458d346f5c6f302f2182fff0b1b90f7036af SHA1 4f3d32989ea460244613dafbd299fa7c2799af9c SHA256 01551fb7c11e4f370b980fa7e492c44a922fadab5ea852c5538e6aed6e11bda2
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
75
app-cdr/liblightscribe/liblightscribe-1.18.3.2.ebuild
Normal file
75
app-cdr/liblightscribe/liblightscribe-1.18.3.2.ebuild
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
# 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"
|
||||||
|
|
||||||
|
ln -sf liblightscribe.so.1 "${WORKDIR}"/usr/lib/liblightscribe.so.0.0.1
|
||||||
|
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"
|
||||||
|
dosym liblightscribe.so.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so
|
||||||
|
insinto /usr/include/lightsribe
|
||||||
|
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