ecub: EPUB and MobiPocket ebook creator
This commit is contained in:
parent
b63f320e33
commit
2cb7f75d4f
3
app-text/ecub/Manifest
Normal file
3
app-text/ecub/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST ecub_1.11-1_amd64.deb 4511550 RMD160 a8654979e3422398ee20d61a1286e4117ef4bb42 SHA1 04cd669f3c46e9f1b02eb0e24392732861ed93d4 SHA256 8c02351cf71bc46f2f6ccc818c3e216d87de943dd4fd622051c9e8ed4dab87bc
|
||||||
|
DIST ecub_1.11-1_i386.deb 4464632 RMD160 ea411556f7cf768cba0dbb0fd813011ed6b4a3d7 SHA1 b5613cc0fad36800a57f98b5d063e05519b0ef40 SHA256 cd39b483b0d08678b0cb8824c32abefddd296fa445ae0375db4a2db37b3d74d9
|
||||||
|
EBUILD ecub-1.11.ebuild 1172 RMD160 1fc958ffe712a108c4c6b837d3a439bdc6ee439b SHA1 424e92e017a14f35b1b64463d7b426a9d129162f SHA256 5ffea11d22eaa9f14b6599da15ed50e0aaf4d9115bcb9a5147104eaf7c654f2e
|
52
app-text/ecub/ecub-1.11.ebuild
Normal file
52
app-text/ecub/ecub-1.11.ebuild
Normal 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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user