summaryrefslogtreecommitdiff
blob: d7911de1a0987a6fb17431eaf9225abd18951928 (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
30
31
32
33
34
35
36
37
38
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cdstatus/cdstatus-0.94a.ebuild,v 1.2 2003/09/07 00:06:04 msterret Exp $

MY_P="cdstatus${PV}"
DESCRIPTION="Tool for diagnosing cdrom drive and digital data (audio) extraction"
HOMEPAGE="http://cdstatus.sourceforge.net/"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/cdstatus/${MY_P}.tar.gz"

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

DEPEND="virtual/glibc"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_compile() {

	epatch ${FILESDIR}/${P}-gentoo.diff
	make || die
}

src_install() {
	into /usr
	dobin cdstatus
	fperms 755 /usr/bin/cdstatus
	dodoc docs/*
}

pkg_postinst() {
	einfo ""
	einfo "Check /usr/share/doc/cdstatus-${PV} for help"
	einfo ""
}