blob: f475dd4de1623fca87575c39879950f4a1deb027 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
DESCRIPTION="Detects CD/DVD types without mounting them"
HOMEPAGE="http://www.bellut.net/projects.html#cddetect"
SRC_URI="http://www.bellut.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e '2d' \
-e "s:gcc:$(tc-getCC):" Makefile \
|| die "sed failed in Makefile"
}
src_install() {
dobin ${PN}
}
|