summaryrefslogtreecommitdiff
blob: 0f8a1b52bd5296013224bd52a13192db3d593464 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="command-line utility to create toc-files for cdrdao"
HOMEPAGE="https://sourceforge.net/projects/mkcdtoc/"
SRC_URI="mirror://sourceforge/mkcdtoc/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=dev-lang/perl-5.8.0"
RDEPEND="${DEPEND}"

src_compile() {
	# bug #799164
	emake PREFIX="${EPREFIX}/usr"
}

src_install() {
	# bug #799164
	emake \
		PREFIX="${EPREFIX}/usr" \
		DESTDIR="${D}" \
		MANDIR="/usr/share/man" \
		install
}