blob: 011d2228ac32e84470056d81078854d33fc5a868 (
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
40
41
42
43
44
45
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-0.9.9.4.ebuild,v 1.7 2003/02/13 13:12:36 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
SRC_URI="mirror://sourceforge/gnump3d/${P}.tar.gz"
HOMEPAGE="http://gnump3d.sourceforge.net/"
DEPEND="virtual/glibc"
RDEPEND=">=sys-devel/perl-5.6.1"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 <${FILESDIR}/mp3d.conf-gentoo.patch || die
patch -p1 <${FILESDIR}/doc-Makefile-gentoo.patch || die
}
src_compile() {
make PREFIX=/usr \
CONFIGDIR=/etc/${PN} \
TEMPLATEDIR=/usr/share/${PN} \
DEFAULT_CFLAGS="-I. ${CXXFLAGS}" \
linux || die
}
src_install() {
dodir /usr/share/${PN}
make PREFIX=${D}/usr \
CONFIGDIR=${D}/etc/${PN} \
TEMPLATEDIR=${D}/usr/share/${PN} \
MANDIR=${D}/usr/share/man/man1 \
DESTDIR=${D} install || die
dodoc AUTHORS BUGS CHANGELOG COPYING README* TODO
docinto templates; dodoc templates/README*
exeinto /etc/init.d
newexe ${FILESDIR}/gnump3d.rc6 gnump3d
}
|