commit:     1afc2b23eb328a8bf3327546cec415e95bd37961
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 24 07:56:43 2024 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 08:02:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afc2b23

app-text/ebook2cw: initial ebuild, 0.8.5

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 app-text/ebook2cw/Manifest              |  1 +
 app-text/ebook2cw/ebook2cw-0.8.5.ebuild | 32 ++++++++++++++++++++++++++++++++
 app-text/ebook2cw/metadata.xml          |  8 ++++++++
 3 files changed, 41 insertions(+)

diff --git a/app-text/ebook2cw/Manifest b/app-text/ebook2cw/Manifest
new file mode 100644
index 000000000000..78ad133a72ce
--- /dev/null
+++ b/app-text/ebook2cw/Manifest
@@ -0,0 +1 @@
+DIST ebook2cw-0.8.5.tar.gz 34619 BLAKE2B 
898a8bb6307a10c33085aca9d172cc145ec9fd1ccb8e76b2be051fd144097ff78f554c01af7540943e2042002b70b25106f615d7e3e9fcfa4f1dfde9cf7f5244
 SHA512 
88f1b42f1d9e96d34b923e31d78b597d00e2696cf4361fb7b2ebeda791f5e6df14bb60d152036d179c16ddceb35577f136a4bc959171faebc0fb5e0ea1877e4b

diff --git a/app-text/ebook2cw/ebook2cw-0.8.5.ebuild 
b/app-text/ebook2cw/ebook2cw-0.8.5.ebuild
new file mode 100644
index 000000000000..9ff5b441d55c
--- /dev/null
+++ b/app-text/ebook2cw/ebook2cw-0.8.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Convert ebooks to Morse MP3s/OGGs"
+HOMEPAGE="https://fkurz.net/ham/ebook2cw.html";
+SRC_URI="https://fkurz.net/ham/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+       media-sound/lame
+       media-libs/libvorbis
+       media-libs/libogg
+       "
+
+src_prepare() {
+       # avoid prestripping of 'qrq' binary
+       sed -i -e "s/install -s -m/install -m/" Makefile || die
+       # fix install dir for doc files
+       sed -i -e "s#/doc/ebook2cw/#/doc/${P}/#g" Makefile || die
+       eapply_user
+}
+
+src_install() {
+       emake DESTDIR="${D}/usr" install
+       dodoc ChangeLog
+}

diff --git a/app-text/ebook2cw/metadata.xml b/app-text/ebook2cw/metadata.xml
new file mode 100644
index 000000000000..001997549c54
--- /dev/null
+++ b/app-text/ebook2cw/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>tom...@gentoo.org</email>
+               <name>Thomas Beierlein</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to