summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/lightscribe')
-rw-r--r--app-cdr/lightscribe/Manifest3
-rw-r--r--app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild73
2 files changed, 76 insertions, 0 deletions
diff --git a/app-cdr/lightscribe/Manifest b/app-cdr/lightscribe/Manifest
new file mode 100644
index 0000000..2f81d93
--- /dev/null
+++ b/app-cdr/lightscribe/Manifest
@@ -0,0 +1,3 @@
+DIST lightscribe-1.18.27.10-linux-2.6-intel.rpm 825987 SHA256 069703c3b5a572191f53697fcccb83504bb1c2405382d02d952fe5d4f12f2643 SHA512 b13b90696014e82c2beb3fee5cdbb255ee24e43cd1391078cf76ae47bcef034a7039eee4ed96aae1599cadfd9bff53cef37dbcfbe7020caed0b3f7f6f82ccdd6 WHIRLPOOL 6e13eabe7b095304dc66c3cb8c6ed8b9d7912032a9ab9bb0a0340b747c540f171c39ce4fa55e3d82042df0f9a979348e28f7353a0f7cc7a6e2b04a405822b351
+DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf SHA512 e1264907e9bc690be99e125ec574f5233ed0c82c8e1651823d4b2629a5d2e31c0325c9e6c80c87090a9bd1cf4708d28ff33429281dffbfae931d7d2eab5a9f10 WHIRLPOOL 241232974a6e07214d4e57a5f68b3fb3d0827db2960a72d193b214980fb9ae16d1689f967ef5c5074eb98b0643160ddaa78c966e9467839ffc1095917fc562b9
+EBUILD lightscribe-1.18.27.10.ebuild 2188 SHA256 147242d46a91126466f9d6952d11e43ab2e7f72cee49e908f89d7a2c037301b4 SHA512 513ec8975ca8113255f160ae686ec14ce04079d0c753d8082f47d5d9120b90b4aa0d4af3725d6f19c54e185f722ed4b9111e19ea632dc93f478607dbe6ff9f31 WHIRLPOOL ca1500eb711d6f1138dea8e0b51a9c3b8ef8067d9fc7258f9be8f66d2e6f9eec2950a8bc57abb8573f4691480b3977744f4989fd7f89aa0e29e101436d8c75f6
diff --git a/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild b/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild
new file mode 100644
index 0000000..9fbc25d
--- /dev/null
+++ b/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header$
+
+inherit rpm
+
+DESCRIPTION="LightScribe System Software by HP"
+HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/"
+LICENSE_URI_LSS="http://www.lightscribe.com/downloadSection/linux/lssLicense.html"
+LICENSE_URI_LPSDK="http://www.lightscribe.com/downloadSection/linux/lpsdkLicense.html"
+SRC_URI_LSS="http://download.lightscribe.com/ls/${P}-linux-2.6-intel.rpm"
+SRC_URI_LPSDK="http://download.lightscribe.com/ls/${PN}PublicSDK-1.18.6.1-linux-2.6-intel.rpm"
+SRC_URI="${SRC_URI_LSS} sdk? ( ${SRC_URI_LPSDK} )"
+LICENSE="LightScribe-LSS LightScribe-LPSDK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdk"
+RESTRICT="fetch mirror strip"
+DEPEND=""
+RDEPEND="virtual/libc
+ =virtual/libstdc++-3*
+ sys-devel/gcc"
+
+pkg_nofetch() {
+ einfo
+ einfo "The following steps are necessary to install ${PN}:"
+ einfo "1. Please agree to the ${PN} license at"
+ einfo "\t${LICENSE_URI_LSS}"
+ if useq sdk; then
+ einfo " ...and to the ${PN} SDK license at"
+ einfo "\t${LICENSE_URI_LPSDK}"
+ fi
+ einfo "2. Use the following URL to download the needed files into ${DISTDIR}"
+ einfo "\t${SRC_URI_LSS}"
+ if useq sdk; then
+ einfo "\t${SRC_URI_LPSDK}"
+ fi
+ einfo "3. Re-run the command that brought you here."
+ einfo
+}
+
+src_unpack() {
+ rpm_src_unpack
+}
+
+src_compile() { :; }
+
+src_install() {
+ cd ${WORKDIR}
+
+ dodir /etc
+ insinto /etc
+ doins ./etc/lightscribe.rc
+ dodir /usr/lib
+ dolib.so ./usr/lib/liblightscribe.so.1
+ dosym liblightscribe.so.1 /usr/lib/liblightscribe.so
+ dodir /usr/lib/lightscribe/res
+ insinto /usr/lib/lightscribe/res
+ doins ./usr/lib/lightscribe/res/*
+ dodir /usr/lib/lightscribe/updates
+ insinto /usr/lib/lightscribe/updates
+ doins ./usr/lib/lightscribe/updates/*
+ dodoc ./usr/share/doc/lightscribeLicense.rtf
+
+ if useq sdk; then
+ dodir /usr/include
+ insinto /usr/include
+ doins ./usr/include/*
+ DOCDESTTREE=sdk dodoc ./usr/share/doc/lightscribe-sdk/docs/*
+ DOCDESTTREE=sdk dodoc ./usr/share/doc/lightscribe-sdk/linux_public_SDK_license.rtf
+ DOCDESTTREE=sdk/sample/lsprint dodoc ./usr/share/doc/lightscribe-sdk/sample/lsprint/*
+ fi
+}