/[gentoo-x86]/app-text/convertlit/convertlit-1.8-r1.ebuild
Gentoo

Contents of /app-text/convertlit/convertlit-1.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Mar 23 19:58:03 2011 UTC (3 years, 4 months ago) by xarthisius
Branch: MAIN
Changes since 1.11: +2 -2 lines
ppc64 stable wrt #355133

(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/convertlit/convertlit-1.8-r1.ebuild,v 1.11 2011/03/07 21:08:23 jer Exp $
4
5 inherit eutils toolchain-funcs
6
7 MY_P="clit${PV//./}"
8
9 DESCRIPTION="CLit converts MS ebook .lit files to .opf (xml+html+png+jpg)"
10 HOMEPAGE="http://www.convertlit.com/"
11 SRC_URI="http://www.convertlit.com/${MY_P}src.zip"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
16 IUSE=""
17
18 RDEPEND=">=dev-libs/libtommath-0.36-r1"
19
20 DEPEND="${RDEPEND}
21 app-arch/unzip"
22
23 RDEPEND="${RDEPEND}
24 !app-text/open_c-lit"
25
26 S=${WORKDIR}
27
28 src_unpack() {
29 unpack ${A}
30 cd "${S}"
31
32 epatch "${FILESDIR}/${P}-respectflags.patch"
33 }
34
35 src_compile() {
36 tc-export CC
37
38 cd "${S}"/lib
39 emake || die "make lib failed"
40 cd "${S}"/${MY_P}
41 emake || die "make ${MY_P} failed"
42 }
43
44 src_install() {
45 dobin ${MY_P}/clit || die
46 dodoc README
47 }

  ViewVC Help
Powered by ViewVC 1.1.20