summaryrefslogtreecommitdiff
blob: 00755a7d9b5f7ca1fe5e7541d9ceaebb0bb04a34 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cdtool/cdtool-2.1.8-r1.ebuild,v 1.7 2012/09/24 06:46:40 vapier Exp $

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
}