summaryrefslogtreecommitdiff
blob: 0758e33b733e21c7110d14bffc3d21a016dbae26 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddetect/cddetect-2.1.ebuild,v 1.1 2008/06/17 16:26:02 drac Exp $

inherit toolchain-funcs

DESCRIPTION="Detects CD/DVD media types without mounting. Supported ones are Audio, ISO, VCD, SVCD, and VDVD."
HOMEPAGE="http://www.bellut.net/projects.html#cddetect"
SRC_URI="http://www.bellut.net/files/${P}.tar.gz"

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

S=${WORKDIR}

src_compile() {
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -o ${PN} || die "compile failed."
}

src_install() {
	dobin ${PN} || die "dobin failed."
}