blob: 6f4ab9d6530231899fd4f4bb217e5d67dbdf2b99 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/streamripper/streamripper-1.60.ebuild,v 1.3 2004/06/25 03:18:49 agriffis Exp $
inherit eutils
MY_P="${P/_/.}"
DESCRIPTION="Extracts and records individual MP3 file tracks from shoutcast streams"
HOMEPAGE="http://streamripper.sourceforge.net/"
SRC_URI="http://streamripper.sourceforge.net/files/${MY_P}.tar.gz
mirror://gentoo/${P}-interface.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE=""
DEPEND="media-libs/libmad"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
epatch ${P}-interface.patch
# Force package to use system libmad
cd ${S}
sed -i 's:libmad::' configure
rm libmad/*
echo 'all:' > libmad/Makefile
}
src_compile() {
econf || die
emake MADLIBOBJS=/usr/lib/libmad.so || die
}
src_install() {
dobin streamripper || die
doman streamripper.1
dodoc CHANGES README THANKS TODO readme_xfade.txt
}
|