summaryrefslogtreecommitdiff
blob: e55ee311a1aae85fcd2bde4c860c3a08fbe48dd4 (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
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ryan Tolboom <ryan@intphsys.com>

S=${WORKDIR}/dcd-0.90
SRC_URI="http://www.technopagan.org/dcd/dcd-0.90.tar.bz2"

HOMEPAGE="http://www.technopagan.org/dcd"

DESCRIPTION="A simple command-line based CD Player"

DEPEND=">=sys-libs/glibc-2.1.3"

src_unpack() {

    unpack ${A}
    cd ${S}
    cat Makefile | sed "s:PREFIX = .*$:PREFIX = \"${D}/usr\":" |\
    sed "s:# CDROM = /dev/cdroms/cdrom0:CDROM = \"/dev/cdroms/cdrom0\":"\
    > Makefile
   
}
 
src_compile() {

    try make

}

src_install() {

    try make PREFIX=${D}/usr install
    dodoc README BUGS

}