/[gentoo-x86]/media-sound/twolame/twolame-0.3.13-r1.ebuild
Gentoo

Contents of /media-sound/twolame/twolame-0.3.13-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Jul 31 14:34:07 2014 UTC (6 years, 4 months ago) by klausman
Branch: MAIN
Changes since 1.6: +2 -2 lines
Stable on alpha, bug #515234

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.13-r1.ebuild,v 1.6 2014/07/28 13:48:31 ago Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
8 inherit autotools-multilib
9
10 DESCRIPTION="An optimised MPEG Audio Layer 2 (MP2) encoder"
11 HOMEPAGE="http://www.twolame.org"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
17 IUSE="static-libs"
18
19 RDEPEND=">=media-libs/libsndfile-1.0.25[${MULTILIB_USEDEP}]
20 abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r6
21 !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 DOCS=( AUTHORS ChangeLog README TODO )
26
27 src_prepare() {
28 sed -i -e '/CFLAGS/s:-O3::' configure || die
29
30 if [[ ${CHOST} == *solaris* ]]; then
31 # libsndfile doesn't like -std=c99 on Solaris
32 sed -i -e '/CFLAGS/s:-std=c99::' configure || die
33 # configure isn't really bourne shell (comment 0) or dash (comment 6)
34 # compatible, bug #388885
35 export CONFIG_SHELL=${BASH}
36 fi
37
38 autotools-multilib_src_prepare
39 }
40
41 src_install() {
42 autotools-multilib_src_install \
43 pkgdocdir="${EPREFIX}/usr/share/doc/${PF}"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20