1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-29 01:42:29 +01:00

added ebuilds for tools that can create/convert ebooks to ebook reader.

This commit is contained in:
root
2010-02-20 10:35:26 +01:00
parent c6ab314b83
commit b8dd51bc60
4 changed files with 205 additions and 0 deletions

3
app-text/ecub/Manifest Normal file
View File

@@ -0,0 +1,3 @@
DIST ecub_1.09-1_amd64.deb 4492062 RMD160 a92fe52ea9002ae5207a810c0a14b81dda9fd0bf SHA1 4aecb790170ee59519437b5e06d99b72043fd112 SHA256 79d83fabd3394807bb16bba81d357b61d69036482d80ce013a01da3378035b02
DIST ecub_1.09-1_i386.deb 4449600 RMD160 ef36ca39b9cd78d2f7200b1ee77fb758a68f0307 SHA1 f2bb5391440fc8400d78adec428291a1449b0c83 SHA256 3df557647b2dfb247724df02c1d118bbe12b2e222a6f2dc7d527127e9da7718e
EBUILD ecub-1.09.ebuild 1172 RMD160 1fc958ffe712a108c4c6b837d3a439bdc6ee439b SHA1 424e92e017a14f35b1b64463d7b426a9d129162f SHA256 5ffea11d22eaa9f14b6599da15ed50e0aaf4d9115bcb9a5147104eaf7c654f2e

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A simple to use EPUB and MobiPocket ebook creator"
HOMEPAGE="http://www.juliansmart.com/ecub"
SRC_URI="x86? ( http://www.anthemion.co.uk/ecub/ecub_${PV}-1_i386.deb )
amd64? ( http://www.anthemion.co.uk/ecub/ecub_${PV}-1_amd64.deb )"
# LICENSE="eCub"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND="app-arch/deb2targz"
RDEPEND=""
src_unpack() {
ARCH_SUFFIX=""
if use x86 ; then
ARCH_SUFFIX="i386"
fi
if use amd64 ; then
ARCH_SUFFIX="amd64"
fi
DEBFILE="ecub_${PV}-1_${ARCH_SUFFIX}.deb"
TGZFILE="ecub_${PV}-1_${ARCH_SUFFIX}.tar.gz"
cd ${WORKDIR}
ln -s ${DISTDIR}/${DEBFILE} .
deb2targz ${DEBFILE}
tar xzf ${TGZFILE}
rm ${DEBFILE}
}
src_compile() {
true
}
src_install() {
dodir /usr/bin
dodir /usr/share
dodir /usr/share/applications
dodir /usr/share/pixmaps
cd ${WORKDIR}
cp -R "usr/share/ecub" "${D}usr/share/" || die
dosym /usr/share/ecub/ecub /usr/bin/ecub
insinto /usr/share/pixmaps
newins usr/share/ecub/appicons/ecub48x48.png ecub.png
insinto /usr/share/applications
doins usr/share/ecub/ecub.desktop
}