ChangeLog

# ChangeLog for app-text/convertlit
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/convertlit/ChangeLog,v 1.15 2008/02/27 11:32:35 coldwind Exp $

27 Feb 2008; Santiago M. Mola
convertlit-1.8-r1.ebuild:
amd64 stable wrt bug #211112

22 Feb 2008; Markus Meier convertlit-1.8-r1.ebuild:
x86 stable, bug #211112

22 Feb 2008; Tobias Scherbaum
convertlit-1.8-r1.ebuild:
ppc stable, bug #211112

22 Feb 2008; Diego Pettenò ChangeLog:
Regen digest.

22 Feb 2008; Diego Pettenò metadata.xml:
Take maintainership.

20 Jan 2008; Fabian Groffen convertlit-1.8.ebuild,
convertlit-1.8-r1.ebuild:
Dropped ppc-macos keyword, see you in prefix

25 Dec 2007; Christian Heim metadata.xml:
Removing usata from metadata.xml as per #22931. Assigning to maintainer-needed.

*convertlit-1.8-r1 (17 Jun 2006)

17 Jun 2006; Mamoru KOMACHI
+files/convertlit-1.8-respectflags.patch, +convertlit-1.8-r1.ebuild:
Respect LDFLAGS and link dynamically to libtommath. Thanks to flameeyes for
patches. This closes bug #126851.

11 Oct 2005; Fabian Groffen convertlit-1.8.ebuild:
Marked ~ppc-macos (bug #108462)

21 Apr 2005; Simon Stelling convertlit-1.8.ebuild:
stable on amd64

03 Nov 2004; Mamoru KOMACHI convertlit-1.8.ebuild:
Added app-arch/unzip to DEPEND; bug #69831.

05 Sep 2004; Malcolm Lashley convertlit-1.8.ebuild:
Add ~amd64 closes bug #62735

05 Sep 2004; David Holm convertlit-1.8.ebuild:
Added to ~ppc.

*convertlit-1.8 (02 Sep 2004)

02 Sep 2004; Mamoru KOMACHI +convertlit-1.8.ebuild:
Initial import. Thanks to Thomas R. (TRauMa)
, closing bug #25432.

Manifest

AUX convertlit-1.8-respectflags.patch 840 RMD160 b6d4f9ef34d8171e12eec8e0ca778212a4e4dfbc SHA1 2a897a27f2af38b88fa445ea3bbd125d2580d62e SHA256 64c23b1ea950305f1f6a47e248a4454a8b73091fdc58da05514e1178ee6976ae
DIST clit18src.zip 135120 RMD160 6104a7d951ed60ea73705e401be8b55633ea2d47 SHA1 0fa9aead468bd8640c49374d46d78d2a3e79489f SHA256 d70a85f5b945104340d56f48ec17bcf544e3bb3c35b1b3d58d230be699e557ba
EBUILD convertlit-1.8-r1.ebuild 927 RMD160 a378fb627939eb5c4db3313aa3d27686b97d417d SHA1 a39f18e74f57642bd49f9c06de9a5243de64ff38 SHA256 df77ba6e98e8f4effa96c0da725702cc1afd05588a9e80254cf51b2c35509479
EBUILD convertlit-1.8.ebuild 1018 RMD160 64ea35e91b8c580766eedf8cfe5aaa24469eec21 SHA1 af5d8977503930ab48a1c254f46e319fcb3662b2 SHA256 54e19b556a0e0d89e07deb0388777664e00bb7dcb0bb340ca5b9dfb7f3efa702
MISC ChangeLog 1994 RMD160 fe4da8667c7a50772591b74c48796e899ffe09d1 SHA1 8dee61a24684524e1dc2f3671973c08051720aa1 SHA256 4c66f8e4121b7a115c47a253e1c88f4dbf4cdb1c497024663ff86c4e2887bb12
MISC metadata.xml 646 RMD160 e30ee1de519a777a8f8a25f995cef3c6399a584d SHA1 8816eb32c4bc92a7ab1ab31db76f3255abbaacac SHA256 ac28aa82ee3988bb62a432aa39af77d2e1a0ac91cfc352d6a617911d7bdff416

convertlit-1.8-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/convertlit/convertlit-1.8-r1.ebuild,v 1.6 2008/02/27 11:32:35 coldwind Exp $

inherit eutils toolchain-funcs

MY_P="clit${PV//./}"

DESCRIPTION="CLit converts MS ebook .lit files to .opf (xml+html+png+jpg)"
HOMEPAGE="http://www.convertlit.com/"
SRC_URI="http://www.convertlit.com/${MY_P}src.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

RDEPEND=">=dev-libs/libtommath-0.36-r1"

DEPEND="${RDEPEND}
app-arch/unzip"

RDEPEND="${RDEPEND}
!app-text/open_c-lit"

S=${WORKDIR}

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/${P}-respectflags.patch"
}

src_compile() {
tc-export CC

cd "${S}"/lib
emake || die "make lib failed"
cd "${S}"/${MY_P}
emake || die "make ${MY_P} failed"
}

src_install() {
dobin ${MY_P}/clit || die
dodoc README
}

convertlit-1.8.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/convertlit/convertlit-1.8.ebuild,v 1.9 2008/01/20 12:35:48 grobian Exp $

MY_P="clit${PV//./}"

DESCRIPTION="CLit converts MS ebook .lit files to .opf (xml+html+png+jpg)"
HOMEPAGE="http://www.convertlit.com/"
SRC_URI="http://www.convertlit.com/${MY_P}src.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

DEPEND="dev-libs/libtommath
>=sys-apps/sed-4
app-arch/unzip"
RDEPEND="!app-text/open_c-lit" # link libtommath statically

S=${WORKDIR}

src_compile() {
cd "${S}"/lib
sed -i -e "/^CFLAGS/s/-O3 -Wall/${CFLAGS}/" Makefile \
|| die "sed lib/Makefile failed."
emake || die "make lib failed"
cd "${S}"/${MY_P}
sed -i -e "/^CFLAGS/s:-Wall -O2:${CFLAGS}:" \
-e "s:../libtommath-0.30:/usr/lib:g" Makefile \
|| die "sed ${MY_P}/Makefile failed."
emake || die "make ${MY_P} failed"
}

src_install() {
dobin ${MY_P}/clit || die
dodoc README
}

files

metadata.xml




no-herd

flameeyes@gentoo.org


Convert Lit is a simple program to use .lit or Microsoft ebook files on
Linux. It's able to "explode" the ebook into Open Ebook Specification
Format (OEBPS), which than can be read by Opera and other Linux programs
(it's just xml, html, png and jpeg). Note that you won't get any
DRM-bypassing, so your .lit-file must not be copy protected.