app-cdr/liblightscribe: cleanup
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@1546 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
453133d551
commit
8c184c77ec
@ -2,6 +2,16 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
08 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
-liblightscribe-1.14.17.1.ebuild, -liblightscribe-1.14.19.1.ebuild,
|
||||
-liblightscribe-1.14.32.1.ebuild, -liblightscribe-1.18.1.1.ebuild,
|
||||
-liblightscribe-1.18.1.1-r1.ebuild, -liblightscribe-1.18.2.1.ebuild,
|
||||
-liblightscribe-1.18.3.2.ebuild, -liblightscribe-1.18.4.1.ebuild,
|
||||
-liblightscribe-1.18.4.1-r1.ebuild, -liblightscribe-1.18.4.1-r2.ebuild,
|
||||
-liblightscribe-1.18.6.1.ebuild, -liblightscribe-1.18.6.1-r1.ebuild,
|
||||
-files/liblightscribe-gcc43-1.patch, -files/80liblightscribe:
|
||||
cleanup
|
||||
|
||||
*liblightscribe-1.18.8.1 (01 Sep 2009)
|
||||
*liblightscribe-1.18.6.1-r2 (01 Sep 2009)
|
||||
|
||||
|
@ -1,33 +1,10 @@
|
||||
AUX 80liblightscribe 30 RMD160 9c63f02504848d22ceccf37d261315682d6847da SHA1 13050cdb857110713ef76c27d7334dbfd79dc3df SHA256 ec396642c57e39565e5bcf8bbec587789a3c40450a241e366b417f2f17b4c9e8
|
||||
AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a
|
||||
DIST lightscribe-1.14.17.1-linux-2.6-intel.rpm 506159 RMD160 ce5d90a2145fab4e11607548bc8610bafd46c164 SHA1 7162f3a12aa0736917b349539ff1e8177c168717 SHA256 510e023c96f318ce990537a4696aae174bd53a234ee0c7dbab58564e983215c7
|
||||
DIST lightscribe-1.14.19.1-linux-2.6-intel.rpm 506688 RMD160 7d896f296c7a0dd7225d348ebc7c006e09ab160f SHA1 6a0f683e41a2f2ed0259cecf22ec6661fb4582ad SHA256 c2e1548fe2fe7eaccd60b1ee473815809822081a27ee2b152a34767a596a2615
|
||||
DIST lightscribe-1.14.32.1-linux-2.6-intel.rpm 507684 RMD160 f8979945e8af75a86664159a41663e5ac2e45802 SHA1 c7b717d225c89ba59935bb595186a8fa345e700c SHA256 41a070ed4724620023389b50229f5498eaf40043ec85778ab6051edd5c4b04f7
|
||||
DIST lightscribe-1.18.1.1-linux-2.6-intel.rpm 580229 RMD160 84434fac10db37e45893ea72fd3e39be899bead2 SHA1 8388e52b7a7216eccd3905ef950e0d77b9d7e546 SHA256 978f1a629589a781a99d4c207338bbeeba3d9c907a014da4aa9ac5cf28ef4ec7
|
||||
DIST lightscribe-1.18.2.1-linux-2.6-intel.rpm 812485 RMD160 db74d5311ff81f6b7c6e9508a99630e73d49ea3b SHA1 86bc013c029f088535e3f339f5619275aad7344b SHA256 920f11e82be2acf8292f16998814ea2d011efc2bcb4cbb70926a6cc847628a84
|
||||
DIST lightscribe-1.18.3.2-linux-2.6-intel.rpm 814753 RMD160 8e4fc8c4d63a481777294c9ae97596812ee13a82 SHA1 cb91432dbee345a18374037bedc56db53f97bbef SHA256 83d8f21250cf8e3a17dcd3594f5e01aefaa3813da80c2ef36e572d5a1681fddb
|
||||
DIST lightscribe-1.18.4.1-linux-2.6-intel.rpm 815200 RMD160 b86b36ace6c5ae2bfae3ca972562346c5f69fe58 SHA1 88f1c092caaf32a7d34d40f590b316e988e66da6 SHA256 bbca4d8f495b2cd8a57ffa0937df66bbfaaa83f3df4af34f61a13ff079e98238
|
||||
DIST lightscribe-1.18.5.1-linux-2.6-intel.rpm 815047 RMD160 48212d5108b0afaae0caefa47dea27a83184b4f7 SHA1 e9cf5856b26565c71d56dde243cfa47a29b990c4 SHA256 77f8240b8edb8c5de5b507c9382c53b689ecd7db7ecf37606dbb959f109e665c
|
||||
DIST lightscribe-1.18.6.1-linux-2.6-intel.rpm 815788 RMD160 edbcbff934e550f60fe7b92f87eb0528ea0b8fd9 SHA1 ff32dd0b8f005ebb53d70f6ff2771fe48a1ecc27 SHA256 7f5b8cdca7406865aaaaa0920f01085b1bc1ba75699b89ec7b94d2b1de9a578f
|
||||
DIST lightscribe-1.18.8.1-linux-2.6-intel.rpm 816331 RMD160 57e808451666d73e9f77a18ff688b894e9d7b15d SHA1 0bb830913379ad4a79761a6e588b8ee5a587af7a SHA256 60a242e8e9867b85f596e596a87d07c0bb5e84035bf2b4db127d017ccfdf4ffb
|
||||
DIST lightscribePublicSDK-1.14.17.1-linux-2.6-intel.rpm 622100 RMD160 91c9f28da8d385fbe153b292e442c174eda0d0ee SHA1 0c060938e4362298b496f79c3467f9bad8fc9f7d SHA256 fdc19599d016db36eb8346d41f144c5d9c5f593f901a27d3b0256331f046b4b2
|
||||
DIST lightscribePublicSDK-1.14.19.1-linux-2.6-intel.rpm 622098 RMD160 6891a018438e0e2713f428768eb94ed26984c33f SHA1 eac5b66e2e69e52c83aa1a02a349ed288f6374e5 SHA256 d3ae9402d6b0083f7972b6c9fbb316c483ea662d1899acf7e7789f7193256556
|
||||
DIST lightscribePublicSDK-1.14.32.1-linux-2.6-intel.rpm 622100 RMD160 42ee805c828e2d4302a889c4f73fe7c225eaca05 SHA1 8645933eefdc84dc4d775601da94253cf0519e6e SHA256 34aea8ce43dc2887e9c99c995e2af1d16d82f773fccd3fa7f674ac05600828e8
|
||||
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
|
||||
EBUILD liblightscribe-1.14.17.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
|
||||
EBUILD liblightscribe-1.14.19.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
|
||||
EBUILD liblightscribe-1.14.32.1.ebuild 2255 RMD160 981b4723773f87595e7237f7e678de5722f90e4f SHA1 e6c4f4569da102b1235cbd39e83f97b599423bdd SHA256 ed9bb6fb2f64c55e858420060c6423c932199ec5e2b8d57600f11dc582f45355
|
||||
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.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-r2.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
|
||||
EBUILD liblightscribe-1.18.4.1.ebuild 3028 RMD160 c50f66c8eb846edbd0f37802f05d22684d364541 SHA1 71bcff1339a926d9a4225179bf8ae0da4b12382f SHA256 ec80064543bf8d8a74dc7cbe65a27e3a6c9be217bb351c19b047c43b148cba61
|
||||
EBUILD liblightscribe-1.18.5.1.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
|
||||
EBUILD liblightscribe-1.18.6.1-r1.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
EBUILD liblightscribe-1.18.6.1-r2.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
EBUILD liblightscribe-1.18.6.1.ebuild 3186 RMD160 9ef05242cbdb5d8b459994f25d1cae332834a63a SHA1 f7e455ea95a695237a9f06a96ae8c1ae0d64fb64 SHA256 6c25c2f454fc4f78882adcd0b836dcb54859c3ea883ee0e7f2a12e2def873b3f
|
||||
EBUILD liblightscribe-1.18.8.1.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
MISC ChangeLog 5346 RMD160 3ffce62b7b25e7c31063eb846ee3c0824d03f454 SHA1 f0f3f4df3a2c2c7988558d83ddc8493823f8c5f9 SHA256 d8f56bf45af6dce64e08a43e6c24556a514c3057a476901271aa079d90b74edc
|
||||
MISC ChangeLog 5895 RMD160 1a0508b398a19872e2e860dfaa06ac5fd1681c5e SHA1 e750d946423c52f253520098f76fbd2d7ddbe0e4 SHA256 03fffbb35babd281229d14b2af676e8ab5ed1531b9ebe08bd97fa5a97f6e30cb
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1 +0,0 @@
|
||||
LDPATH=/opt/liblightscribe/lib
|
@ -1,19 +0,0 @@
|
||||
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
|
||||
Date: 2008-07-30
|
||||
Initial Package Version: 1.14.17.1
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: make sample compile with gcc 4.3
|
||||
|
||||
diff -Naur work.orig/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp work/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp
|
||||
--- work.orig/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp 2008-06-09 19:16:18.000000000 +0000
|
||||
+++ work/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp 2008-07-30 18:17:33.000000000 +0000
|
||||
@@ -23,6 +23,8 @@
|
||||
// Copyright (C) 2005-2006 Hewlett-Packard Development Company, LP
|
||||
//
|
||||
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
|
||||
// import LSAPI
|
||||
#include "lightscribe.h"
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils rpm multilib flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="LightScribe System Software (binary only library)."
|
||||
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="lightscribe lightscribeSDK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="multilib"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack
|
||||
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ln -sf "${WORKDIR}"/usr/lib/liblightscribe.so.1 liblightscribe.so
|
||||
append-flags -I"${WORKDIR}"/usr/include -pthread -m32
|
||||
append-ldflags -L"${WORKDIR}" -lm -llightscribe
|
||||
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
into /opt
|
||||
dobin lsprint
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/liblightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This version also support Enhanced Contrast"
|
||||
einfo "You can activate it by running:"
|
||||
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
||||
einfo
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils rpm multilib flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="LightScribe System Software (binary only library)."
|
||||
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="lightscribe lightscribeSDK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="multilib"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack
|
||||
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ln -sf "${WORKDIR}"/usr/lib/liblightscribe.so.1 liblightscribe.so
|
||||
append-flags -I"${WORKDIR}"/usr/include -pthread -m32
|
||||
append-ldflags -L"${WORKDIR}" -lm -llightscribe
|
||||
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
||||
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
into /opt
|
||||
dobin lsprint
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/liblightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This version also support Enhanced Contrast"
|
||||
einfo "You can activate it by running:"
|
||||
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
||||
einfo
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils rpm multilib flag-o-matic
|
||||
|
||||
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-${PV}-linux-2.6-intel.rpm"
|
||||
|
||||
LICENSE="lightscribe lightscribeSDK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="multilib"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
RESTRICT="mirror strip fetch"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/liblightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This version also support Enhanced Contrast"
|
||||
einfo "You can activate it by running:"
|
||||
einfo "/opt/liblightscribe/$(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-${PV}-linux-2.6-intel.rpm )"
|
||||
einfo "from ${HOMEPAGE} (requires to accept license)"
|
||||
einfo
|
||||
einfo "Then put the file in ${DISTDIR}"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
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"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
sys-libs/libstdc++-v3
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
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
|
||||
exeinto /opt/lightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/lightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
doins -r "${WORKDIR}"/usr/include/*
|
||||
insinto /etc
|
||||
doins -r "${WORKDIR}"/etc/*
|
||||
dosed "s%/usr/lib%/opt/lightscribe/$(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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
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}"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
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"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
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/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/liblightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This version also support Enhanced Contrast"
|
||||
einfo "You can activate it by running:"
|
||||
einfo "/opt/liblightscribe/$(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}"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# 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"
|
||||
|
||||
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
|
||||
exeinto /opt/lightscribe/$(get_libdir)/lightscribe
|
||||
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||
into /opt/lightscribe
|
||||
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||
dosym liblightscribe.so.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so
|
||||
insinto /usr/include/lightsribe
|
||||
doins -r "${WORKDIR}"/usr/include/*
|
||||
insinto /etc
|
||||
doins -r "${WORKDIR}"/etc/*
|
||||
dosed "s%/usr/lib%/opt/lightscribe/$(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 sample/lsprint
|
||||
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||
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}"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# 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}"
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# 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
|
||||
|
||||
# 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.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.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}"
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# 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}"
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# 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
|
||||
|
||||
# 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.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.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}"
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils rpm multilib
|
||||
|
||||
SDK_PV=1.18.6.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] )
|
||||
!app-cdr/lightscribe"
|
||||
|
||||
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}"
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# 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] )
|
||||
!app-cdr/lightscribe"
|
||||
|
||||
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