summaryrefslogtreecommitdiff
path: root/app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild
blob: b593c06e99b2ad459fdadadf6f0c437456959785 (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-2024 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="https://downloads.sourceforge.net/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
}