Add app-text/ecub-1.09.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Feb 2010 12:46:54 +0000 (13:46 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Feb 2010 12:46:54 +0000 (13:46 +0100)
app-text/ecub/Manifest [new file with mode: 0644]
app-text/ecub/ecub-1.09.ebuild [new file with mode: 0644]

diff --git a/app-text/ecub/Manifest b/app-text/ecub/Manifest
new file mode 100644 (file)
index 0000000..7273176
--- /dev/null
@@ -0,0 +1,3 @@
+DIST ecub_1.09-1_amd64.deb 4429380 RMD160 84c540a020cde5482ecd25651e5e998d06a0005a SHA1 dd7a0b5742d93eb38f2b5fe64160bd4653739139 SHA256 6d79ffc2839b69ce0beca9c5856621c2038d03096dfc56c7742f234da9cee4f8
+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
diff --git a/app-text/ecub/ecub-1.09.ebuild b/app-text/ecub/ecub-1.09.ebuild
new file mode 100644 (file)
index 0000000..fb8baaa
--- /dev/null
@@ -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
+}
+