blob: 74457d2ebdedf74d30b0a71652def19590ecd03e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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"
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
}
|