/[gentoo-x86]/media-sound/poc/poc-0.4.1.ebuild
Gentoo

Contents of /media-sound/poc/poc-0.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Aug 1 14:21:48 2007 UTC (12 years, 5 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +11 -7 lines
Fix CC by using toolchain-funcs.
(Portage version: 2.1.3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="mp3 and ogg streamer (include mp3cue and mp3cut)"
8 HOMEPAGE="http://www.bl0rg.net/software/poc"
9 SRC_URI="http://www.bl0rg.net/software/${PN}/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE=""
15
16 RDEPEND=""
17 DEPEND="sys-devel/flex
18 sys-devel/bison"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -i \
24 -e '/^CFLAGS/s:-O2::' \
25 -e '/^PREFIX/s:/local::' \
26 Makefile
27 epatch "${FILESDIR}"/${P}-fec-pkt-prototype.patch
28 epatch "${FILESDIR}"/${P}-file-perms.patch
29 }
30
31 src_compile() {
32 emake CC="$(tc-getCC)" || die "emake failed."
33 }
34
35 src_install() {
36 dodir /usr/bin /usr/share/man/man1
37 emake DESTDIR="${D}" install || die "emake install failed."
38 dodoc README TODO
39 }

  ViewVC Help
Powered by ViewVC 1.1.20