# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-sound/gogo/gogo-3.10-r1.ebuild,v 1.11 2004/04/22 06:23:44 eradicator Exp $ inherit eutils IUSE="debug" MY_PV=311p1 DESCRIPTION="GoGo is an assembly optimized version of LAME 3.9x" HOMEPAGE="http://homepage1.nifty.com/herumi/gogo_e.html" SRC_URI="http://homepage1.nifty.com/herumi/soft/petit/petit${MY_PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 -ppc -sparc" DEPEND="dev-lang/nasm" # >=sys-libs/ncurses-5.H2 # gtk? ( =x11-libs/gtk+-1.2* )" # oggvorbis? ( >=media-libs/libvorbis-1.0_rc3 )" # Oggvorbis support breaks with -rc3 #RDEPEND="virtual/glibc" # >=sys-libs/ncurses-5.2 # gtk? ( =x11-libs/gtk+-1.2* )" # oggvorbis? ( >=media-libs/libvorbis-1.0_rc3 )" S=${WORKDIR}/petit${MY_PV} src_compile() { local myconf="" # if [ "`use oggvorbis`" ] ; then # myconf="--with-vorbis" myconf="--without-vorbis" # else # myconf="--without-vorbis" # fi # if [ "`use gtk`" ] ; then # myconf="$myconf --enable-mp3x" # fi [ `use debug` ] \ && myconf="$myconf --enable-debug=yes" \ || myconf="$myconf --enable-debug=no" econf \ --enable-shared \ --enable-nasm \ --enable-extopt=full \ $myconf || die emake || die } src_install () { dodir /usr/bin dodir /usr/share/man dodir /usr/share/doc make exec_prefix=${D}usr \ mandir=${D}usr/share/man \ install || die dodoc COPYING readme_e.txt dohtml -r ./ }