blob: fb0a10a6b4ac01d05502db66b7646b1609eccc82 (
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
39
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/darksnow-0.4.4.ebuild,v 1.3 2004/10/19 06:01:29 chriswhite Exp $
DESCRIPTION="Streaming GTK2 Front-End based in Darkice Ice Streamer"
HOMEPAGE="http://darksnow.radiolivre.org"
SRC_URI="http://darksnow.radiolivre.org/${P}.tar.gz"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
LICENSE="GPL-2"
DEPEND=">=x11-libs/gtk+-2
>=media-sound/darkice-0.14"
src_unpack() {
unpack ${A}
einfo "Patching Makefile..."
cd ${S}
#fix some makefile issues
sed -i -e "s:^PREFIX=.*:PREFIX=${D}/usr:" \
-e "s:^INTLPREFIX=.*:INTLPREFIX=${D}/usr:" \
-e "s:^CFLAGS=:CFLAGS=${CFLAGS} :" \
Makefile \
|| die "could not patch Makefile"
}
src_compile() {
emake || die "Compilation failed"
}
src_install () {
dobin darksnow || die "could not install darksnow executable"
dodoc ${S}/documentation/*
}
|