blob: c0697de57da23e7628121a10dd3a9e8d981f4702 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Transfer sound from gramophone records to CD"
HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile"
SRC_URI="
mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}.orig.tar.gz
mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}-${PV/*_p}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
RDEPEND="
sys-libs/ncurses:=
sci-libs/fftw:2.1"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${P/_p*}"
PATCHES=(
"${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff
"${S}"/debian/patches
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-strlen_and_exit.patch
)
src_configure() {
tc-export CC PKG_CONFIG
}
src_install() {
dobin gramofile
exeinto /usr/$(get_libdir)/gramofile
doexe bplay_gramo brec_gramo
dodoc ChangeLog README TODO *.txt
newdoc debian/changelog ChangeLog.debian
}
|