app-cdr/liblightscribe: Repoman Cleanup
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@453 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
523dffee91
commit
0d28b61339
@ -2,6 +2,11 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-liblightscribe-1.12.29.2.ebuild, -liblightscribe-1.12.37.1.ebuild,
|
||||||
|
liblightscribe-1.14.17.1.ebuild, liblightscribe-1.14.19.1.ebuild:
|
||||||
|
Repoman Cleanup
|
||||||
|
|
||||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||||
liblightscribe-1.14.17.1.ebuild, +liblightscribe-1.14.19.1.ebuild:
|
liblightscribe-1.14.17.1.ebuild, +liblightscribe-1.14.19.1.ebuild:
|
||||||
Bump
|
Bump
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
AUX 80liblightscribe 30 RMD160 9c63f02504848d22ceccf37d261315682d6847da SHA1 13050cdb857110713ef76c27d7334dbfd79dc3df SHA256 ec396642c57e39565e5bcf8bbec587789a3c40450a241e366b417f2f17b4c9e8
|
AUX 80liblightscribe 30 RMD160 9c63f02504848d22ceccf37d261315682d6847da SHA1 13050cdb857110713ef76c27d7334dbfd79dc3df SHA256 ec396642c57e39565e5bcf8bbec587789a3c40450a241e366b417f2f17b4c9e8
|
||||||
AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a
|
AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a
|
||||||
DIST lightscribe-1.12.29.2-linux-2.6-intel.rpm 561417 RMD160 fbae46b26953a2493846c70e257e78650bb25969 SHA1 eeaff4d0b138556a0a538267becb2966447e319d SHA256 3a5b482fa2450bb9e6dfe027920ee089d371bb2800afe1db5ed1215429dd605b
|
|
||||||
DIST lightscribe-1.12.37.1-linux-2.6-intel.rpm 505795 RMD160 d7edc72d82f0b58aeec765c60ac4292ea64409ab SHA1 d21af72066eb454f2a44c078426104817487d67d SHA256 f44a069347d7343e9b74a2f64112bbc65cb061c9a209f4f27dc861b12b3d9951
|
|
||||||
DIST lightscribe-1.14.17.1-linux-2.6-intel.rpm 506159 RMD160 ce5d90a2145fab4e11607548bc8610bafd46c164 SHA1 7162f3a12aa0736917b349539ff1e8177c168717 SHA256 510e023c96f318ce990537a4696aae174bd53a234ee0c7dbab58564e983215c7
|
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.19.1-linux-2.6-intel.rpm 506688 RMD160 7d896f296c7a0dd7225d348ebc7c006e09ab160f SHA1 6a0f683e41a2f2ed0259cecf22ec6661fb4582ad SHA256 c2e1548fe2fe7eaccd60b1ee473815809822081a27ee2b152a34767a596a2615
|
||||||
DIST lightscribePublicSDK-1.12.29.2-linux-2.6-intel.rpm 622106 RMD160 00457e8901d9e63519a9ea12464e3f0d2da34e07 SHA1 c2a5d96f0f2acec1952ca567a1c001400710832b SHA256 51be2bb43c26005b92ec49c7dc92ad5c8237c571bfc285525d1e03b7634a5816
|
|
||||||
DIST lightscribePublicSDK-1.12.37.1-linux-2.6-intel.rpm 622098 RMD160 94f92226eef266a375c17de175a40009d512af3a SHA1 4ab2e219d99d4489489ac8d1bd744e19bb71b47f SHA256 5a4259e7feb709edbe9bb3533bce11f946c0889a252e2b6f8b15460f11741956
|
|
||||||
DIST lightscribePublicSDK-1.14.17.1-linux-2.6-intel.rpm 622100 RMD160 91c9f28da8d385fbe153b292e442c174eda0d0ee SHA1 0c060938e4362298b496f79c3467f9bad8fc9f7d SHA256 fdc19599d016db36eb8346d41f144c5d9c5f593f901a27d3b0256331f046b4b2
|
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.19.1-linux-2.6-intel.rpm 622098 RMD160 6891a018438e0e2713f428768eb94ed26984c33f SHA1 eac5b66e2e69e52c83aa1a02a349ed288f6374e5 SHA256 d3ae9402d6b0083f7972b6c9fbb316c483ea662d1899acf7e7789f7193256556
|
||||||
EBUILD liblightscribe-1.12.29.2.ebuild 2777 RMD160 6a408d085c3db9fd2305dc8ba5dbb45afd31dcfa SHA1 4d34d7a7f7a6b364e690b2b743b10294b1136bad SHA256 b2f3d2a6b363ad6fe0266ee369bc976a4bb1872ede8387abffc71b17f414575f
|
EBUILD liblightscribe-1.14.17.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
|
||||||
EBUILD liblightscribe-1.12.37.1.ebuild 2335 RMD160 d2edfe0c99e413c3d91e947405d73406dd00f97c SHA1 4ad7d757b6e9bfe8204d556f0dcc8a27f2bf3c5a SHA256 a7237ea91a1bf873eda3a5f855ccea9085882932a3a86efa1dffa4067094d1c9
|
EBUILD liblightscribe-1.14.19.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
|
||||||
EBUILD liblightscribe-1.14.17.1.ebuild 2377 RMD160 12c6bc3d9ab1bb69e9269ba06c7a134ebbfd7589 SHA1 0ae8ab7f7131de774928d948000a6120050c49e7 SHA256 00efc2bc441a7f2c41543b2e2721bed2d36482bbc4da0f80e75bc1dee0001cb4
|
MISC ChangeLog 3002 RMD160 4d57e927c8064ad4e36654949a03b8226f21c618 SHA1 94608e74b510c5f87d3b444e49eebf9998f8c70e SHA256 262c28d18fa54712ae57aecb932522516322b890cedd3d360a9418cf9d95309f
|
||||||
EBUILD liblightscribe-1.14.19.1.ebuild 2377 RMD160 12c6bc3d9ab1bb69e9269ba06c7a134ebbfd7589 SHA1 0ae8ab7f7131de774928d948000a6120050c49e7 SHA256 00efc2bc441a7f2c41543b2e2721bed2d36482bbc4da0f80e75bc1dee0001cb4
|
|
||||||
MISC ChangeLog 2794 RMD160 8fcccb266e6cbcf3b0ef859a9a4b7ed993963d7e SHA1 89446ce43f5cd7c70084f07a7742c66b6be99f09 SHA256 e8a52514ceed2af07519be154fad588e167d1e7f6f0e2c945d4e5dd02d0c382f
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -1,78 +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="HP-LightScribe"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
RDEPEND="virtual/libc
|
|
||||||
x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( app-emulation/emul-linux-x86-compat )"
|
|
||||||
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
rpm_src_unpack
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
# insinto /opt/liblightscribe/$(get_libdir)/lightscribe/xres
|
|
||||||
# doins ${WORKDIR}/usr/lib/lightscribe/xres/*
|
|
||||||
# insinto /opt/liblightscribe/$(get_libdir)/lightscribe/sres
|
|
||||||
# doins ${WORKDIR}/usr/lib/lightscribe/res/*
|
|
||||||
# dosym sres /opt/liblightscribe/$(get_libdir)/lightscribe/res
|
|
||||||
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
|
|
||||||
# dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /opt/liblightscribe/$(get_libdir)/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/*
|
|
||||||
# cope with libraries being in /opt/liblightscribe/lib
|
|
||||||
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="HP-LightScribe"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
RDEPEND="virtual/libc
|
|
||||||
x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( app-emulation/emul-linux-x86-compat )"
|
|
||||||
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
rpm_src_unpack
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -9,7 +9,7 @@ HOMEPAGE="http://www.lightscribe.com/"
|
|||||||
SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
|
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"
|
http://download.lightscribe.com/ls/lightscribePublicSDK-${PV}-linux-2.6-intel.rpm"
|
||||||
|
|
||||||
LICENSE="HP-LightScribe"
|
LICENSE="lightscribe lightscribeSDK"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~x86 ~amd64"
|
KEYWORDS="~x86 ~amd64"
|
||||||
IUSE="multilib"
|
IUSE="multilib"
|
||||||
@ -18,22 +18,22 @@ DEPEND=""
|
|||||||
|
|
||||||
RDEPEND="virtual/libc
|
RDEPEND="virtual/libc
|
||||||
x86? ( sys-libs/libstdc++-v3 )
|
x86? ( sys-libs/libstdc++-v3 )
|
||||||
amd64? ( app-emulation/emul-linux-x86-compat )"
|
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||||
|
|
||||||
RESTRICT="mirror strip"
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
rpm_src_unpack
|
rpm_src_unpack
|
||||||
epatch ${FILESDIR}/liblightscribe-gcc43-1.patch
|
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
ln -sf ${WORKDIR}/usr/lib/liblightscribe.so.1 liblightscribe.so
|
ln -sf "${WORKDIR}"/usr/lib/liblightscribe.so.1 liblightscribe.so
|
||||||
append-flags -I${WORKDIR}/usr/include -pthread -m32
|
append-flags -I"${WORKDIR}"/usr/include -pthread -m32
|
||||||
append-ldflags -L${WORKDIR} -lm -llightscribe
|
append-ldflags -L"${WORKDIR}" -lm -llightscribe
|
||||||
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
||||||
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
||||||
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@ -42,31 +42,30 @@ src_install() {
|
|||||||
into /opt
|
into /opt
|
||||||
dobin lsprint
|
dobin lsprint
|
||||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||||
doexe ${WORKDIR}/usr/lib/lightscribe/updates/fallback.sh
|
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||||
doexe ${WORKDIR}/usr/lib/lightscribe/elcu.sh
|
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||||
into /opt/liblightscribe
|
into /opt/liblightscribe
|
||||||
dolib.so ${WORKDIR}/usr/lib/liblightscribe.so.*
|
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||||
insinto /usr/include/lightsribe
|
insinto /usr/include/lightsribe
|
||||||
doins -r ${WORKDIR}/usr/include/*
|
doins -r "${WORKDIR}"/usr/include/*
|
||||||
insinto /etc
|
insinto /etc
|
||||||
doins -r ${WORKDIR}/etc/*
|
doins -r "${WORKDIR}"/etc/*
|
||||||
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
||||||
dodoc ${WORKDIR}/usr/share/doc/*.*
|
dodoc "${WORKDIR}"/usr/share/doc/*.*
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/*.*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/*.*
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/docs/*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/docs/*
|
||||||
docinto sample/lsprint
|
docinto sample/lsprint
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||||
dodir /etc/env.d
|
dodir /etc/env.d
|
||||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > ${D}/etc/env.d/80liblightscribe
|
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
einfo
|
einfo
|
||||||
einfo "This version also support Enhanced Contrast"
|
einfo "This version also support Enhanced Contrast"
|
||||||
einfo "You can activate it by running:"
|
einfo "You can activate it by running:"
|
||||||
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
||||||
einfo
|
einfo
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ HOMEPAGE="http://www.lightscribe.com/"
|
|||||||
SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
|
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"
|
http://download.lightscribe.com/ls/lightscribePublicSDK-${PV}-linux-2.6-intel.rpm"
|
||||||
|
|
||||||
LICENSE="HP-LightScribe"
|
LICENSE="lightscribe lightscribeSDK"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~x86 ~amd64"
|
KEYWORDS="~x86 ~amd64"
|
||||||
IUSE="multilib"
|
IUSE="multilib"
|
||||||
@ -18,22 +18,22 @@ DEPEND=""
|
|||||||
|
|
||||||
RDEPEND="virtual/libc
|
RDEPEND="virtual/libc
|
||||||
x86? ( sys-libs/libstdc++-v3 )
|
x86? ( sys-libs/libstdc++-v3 )
|
||||||
amd64? ( app-emulation/emul-linux-x86-compat )"
|
amd64? ( multilib? ( app-emulation/emul-linux-x86-compat ) )"
|
||||||
|
|
||||||
RESTRICT="mirror strip"
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
rpm_src_unpack
|
rpm_src_unpack
|
||||||
epatch ${FILESDIR}/liblightscribe-gcc43-1.patch
|
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
ln -sf ${WORKDIR}/usr/lib/liblightscribe.so.1 liblightscribe.so
|
ln -sf "${WORKDIR}"/usr/lib/liblightscribe.so.1 liblightscribe.so
|
||||||
append-flags -I${WORKDIR}/usr/include -pthread -m32
|
append-flags -I"${WORKDIR}"/usr/include -pthread -m32
|
||||||
append-ldflags -L${WORKDIR} -lm -llightscribe
|
append-ldflags -L"${WORKDIR}" -lm -llightscribe
|
||||||
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
|
||||||
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
|
||||||
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@ -42,31 +42,30 @@ src_install() {
|
|||||||
into /opt
|
into /opt
|
||||||
dobin lsprint
|
dobin lsprint
|
||||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
|
||||||
doexe ${WORKDIR}/usr/lib/lightscribe/updates/fallback.sh
|
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh
|
||||||
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
|
||||||
doexe ${WORKDIR}/usr/lib/lightscribe/elcu.sh
|
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh
|
||||||
into /opt/liblightscribe
|
into /opt/liblightscribe
|
||||||
dolib.so ${WORKDIR}/usr/lib/liblightscribe.so.*
|
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.*
|
||||||
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
|
||||||
insinto /usr/include/lightsribe
|
insinto /usr/include/lightsribe
|
||||||
doins -r ${WORKDIR}/usr/include/*
|
doins -r "${WORKDIR}"/usr/include/*
|
||||||
insinto /etc
|
insinto /etc
|
||||||
doins -r ${WORKDIR}/etc/*
|
doins -r "${WORKDIR}"/etc/*
|
||||||
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
|
||||||
dodoc ${WORKDIR}/usr/share/doc/*.*
|
dodoc "${WORKDIR}"/usr/share/doc/*.*
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/*.*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/*.*
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/docs/*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/docs/*
|
||||||
docinto sample/lsprint
|
docinto sample/lsprint
|
||||||
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/*
|
||||||
dodir /etc/env.d
|
dodir /etc/env.d
|
||||||
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > ${D}/etc/env.d/80liblightscribe
|
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > "${D}"/etc/env.d/80liblightscribe
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
einfo
|
einfo
|
||||||
einfo "This version also support Enhanced Contrast"
|
einfo "This version also support Enhanced Contrast"
|
||||||
einfo "You can activate it by running:"
|
einfo "You can activate it by running:"
|
||||||
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
|
||||||
einfo
|
einfo
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user