1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="A simple to use EPUB and MobiPocket ebook creator"
6 HOMEPAGE="http://www.juliansmart.com/ecub"
7 SRC_URI="x86? ( http://www.anthemion.co.uk/ecub/ecub_${PV}-1_i386.deb )
8 amd64? ( http://www.anthemion.co.uk/ecub/ecub_${PV}-1_amd64.deb )"
15 DEPEND="app-arch/deb2targz"
26 DEBFILE="ecub_${PV}-1_${ARCH_SUFFIX}.deb"
27 TGZFILE="ecub_${PV}-1_${ARCH_SUFFIX}.tar.gz"
29 ln -s ${DISTDIR}/${DEBFILE} .
42 dodir /usr/share/applications
43 dodir /usr/share/pixmaps
45 cp -R "usr/share/ecub" "${D}usr/share/" || die
46 dosym /usr/share/ecub/ecub /usr/bin/ecub
47 insinto /usr/share/pixmaps
48 newins usr/share/ecub/appicons/ecub48x48.png ecub.png
49 insinto /usr/share/applications
50 doins usr/share/ecub/ecub.desktop