/[gentoo-x86]/media-libs/flac/flac-1.0.1.ebuild
Gentoo

Contents of /media-libs/flac/flac-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jul 8 22:58:10 2002 UTC (17 years, 3 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
flac update (1.0.3) and repoman fixes too

1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author: Daniel Robbins <drobbins@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/media-libs/flac/flac-1.0.1.ebuild,v 1.3 2002/05/27 17:27:38 drobbins Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="A free lossless audio encoder"
8 SRC_URI="mirror://sourceforge/flac/${P}-src.tar.gz"
9 HOMEPAGE="http://flac.sourceforge.net/"
10 #flac has an optional xmms plugin. For now, we just depend on xmms. We can optimize this later.
11 RDEPEND="virtual/glibc X? ( >=media-sound/xmms-1.2.5-r2 ) >=media-libs/libogg-1.0_rc2"
12 DEPEND="virtual/glibc dev-lang/nasm sys-apps/gawk $RDEPEND"
13
14 src_compile() {
15 cd ${S}
16 local myflags
17 [ `use sse` ] && myflags="--sse-os"
18 #--use-3dnow is documented but apparently not yet enabled.
19 #[ `use 3dnow` ] && myflags="$myflags --use-3dnow"
20 ./configure --prefix=/usr $myflags --host=$CHOST || die
21 cp Makefile Makefile.orig
22 #the man page ebuild requires docbook2man... yick!
23 sed -e 's:include man:include:g' Makefile.orig > Makefile
24 #emake seems to mess up the building of the xmms input plugin
25 make || die
26 }
27 src_install() {
28 #it looks like we need to run the xmms install first
29 ( cd src/plugin_xmms; make DESTDIR=${D} install )
30 make DESTDIR=${D} install
31 }
32
33

  ViewVC Help
Powered by ViewVC 1.1.20