summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/convertlit/ChangeLog10
-rw-r--r--app-text/convertlit/Manifest2
-rw-r--r--app-text/convertlit/convertlit-1.8.ebuild37
-rw-r--r--app-text/convertlit/files/digest-convertlit-1.81
-rw-r--r--app-text/convertlit/metadata.xml10
5 files changed, 60 insertions, 0 deletions
diff --git a/app-text/convertlit/ChangeLog b/app-text/convertlit/ChangeLog
new file mode 100644
index 000000000000..b72b68739b2b
--- /dev/null
+++ b/app-text/convertlit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/convertlit
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/convertlit/ChangeLog,v 1.1 2004/09/02 04:26:40 usata Exp $
+
+*convertlit-1.8 (02 Sep 2004)
+
+ 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +convertlit-1.8.ebuild:
+ Initial import. Thanks to Thomas R. (TRauMa)
+ <gentoo-bugs@digital-trauma.de>, closing bug #25432.
+
diff --git a/app-text/convertlit/Manifest b/app-text/convertlit/Manifest
new file mode 100644
index 000000000000..eaf3360b45ca
--- /dev/null
+++ b/app-text/convertlit/Manifest
@@ -0,0 +1,2 @@
+MD5 c2c594592296460efc89b2d80ac616f2 convertlit-1.8.ebuild 586
+MD5 0aa568c1d0028560dd43f694c3bb200f files/digest-convertlit-1.8 58
diff --git a/app-text/convertlit/convertlit-1.8.ebuild b/app-text/convertlit/convertlit-1.8.ebuild
new file mode 100644
index 000000000000..3ba8c21cff40
--- /dev/null
+++ b/app-text/convertlit/convertlit-1.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 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.1 2004/09/02 04:26:40 usata 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="~x86"
+DEPEND="dev-libs/libtommath
+ >=sys-apps/sed-4"
+RDEPEND="" # link libtommath statically
+IUSE=""
+
+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 ${S}/${MY_P}/clit
+ dodoc ${S}/README
+}
diff --git a/app-text/convertlit/files/digest-convertlit-1.8 b/app-text/convertlit/files/digest-convertlit-1.8
new file mode 100644
index 000000000000..0dee498cef8a
--- /dev/null
+++ b/app-text/convertlit/files/digest-convertlit-1.8
@@ -0,0 +1 @@
+MD5 d691d4729485fe5d73e3f0937d8fb42e clit18src.zip 135120
diff --git a/app-text/convertlit/metadata.xml b/app-text/convertlit/metadata.xml
new file mode 100644
index 000000000000..c892b0500700
--- /dev/null
+++ b/app-text/convertlit/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>usata@gentoo.org</email>
+ <description>Feel free to take the maintainership.</description>
+</maintainer>
+<longdescription>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.</longdescription>
+</pkgmetadata>