summaryrefslogtreecommitdiff
blob: 6706ada72f63a6c8aad5ebc7a634841b9635dffd (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="4"
inherit eutils

DESCRIPTION="collection of command-line utilities to control cdrom devices"
HOMEPAGE="http://hinterhof.net/cdtool/"
SRC_URI="http://hinterhof.net/cdtool/dist/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

RDEPEND="!media-sound/cdplay"

src_prepare() {
	epatch "${FILESDIR}"/${P}-glibc-2.10.patch
	sed -i \
		-e '/INSTALL/s:-o root::' \
		-e '/LINKTARGET/s:/lib/:/$(notdir $(libdir))/:' \
		-e '/^install-links:/s:$: install-files:' \
		Makefile.in || die
}