diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-16 17:12:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-16 17:12:15 +0000 |
commit | f0c83992f0a75f2ed2f147fb4480e6480bcfb93f (patch) | |
tree | 9822f39f368990fbf58081a3449aaa3f6766c29a /media-libs/speex/speex-1.1.5.ebuild | |
parent | dep touchup (diff) | |
download | gentoo-2-f0c83992f0a75f2ed2f147fb4480e6480bcfb93f.tar.gz gentoo-2-f0c83992f0a75f2ed2f147fb4480e6480bcfb93f.tar.bz2 gentoo-2-f0c83992f0a75f2ed2f147fb4480e6480bcfb93f.zip |
Re-add speex 1.1.5 that I forgot to ignore when removing old versions, sorry.
(Portage version: 2529-svn)
Diffstat (limited to 'media-libs/speex/speex-1.1.5.ebuild')
-rw-r--r-- | media-libs/speex/speex-1.1.5.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/speex/speex-1.1.5.ebuild b/media-libs/speex/speex-1.1.5.ebuild new file mode 100644 index 000000000000..fc2032ee2539 --- /dev/null +++ b/media-libs/speex/speex-1.1.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.5.ebuild,v 1.9 2006/01/16 17:12:15 flameeyes Exp $ + +IUSE="ogg sse" + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Speex - Speech encoding library" +HOMEPAGE="http://www.speex.org" +SRC_URI="http://www.speex.org/download/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="BSD as-is" +KEYWORDS="~x86 ~hppa ~amd64 ~alpha ~ia64 ~ppc ~sparc ppc64" + +DEPEND="virtual/libc + ogg? ( >=media-libs/libogg-1.0 )" + +src_compile() { + local myconf + use ogg && myconf="--enable-ogg=yes --with-ogg-dir=/usr" \ + || myconf="--enable-ogg=no" + if [ "${ARCH}" != "amd64" ] + then + use sse && myconf="${myconf} --enable-sse" + fi + econf ${myconf} || die + emake || die +} + +src_install () { + einstall || die + rm -rf ${D}/usr/share/doc/* + + insinto /usr/share/doc/${P} + doins ${S}/doc/manual.pdf + dodoc AUTHORS ChangeLog README TODO NEWS +} + |