/[gentoo-x86]/media-sound/cdparanoia/cdparanoia-3.10.2-r4.ebuild
Gentoo

Contents of /media-sound/cdparanoia/cdparanoia-3.10.2-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 18 11:50:12 2012 UTC (2 years, 11 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +3 -3 lines
Stabilize for everyone.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.10.2-r4.ebuild,v 1.1 2011/10/30 18:28:02 ssuominen Exp $
4
5 EAPI=4
6 inherit autotools eutils flag-o-matic libtool toolchain-funcs versionator
7
8 MY_P=${PN}-III-$(get_version_component_range 2-3)
9 DESCRIPTION="an advanced CDDA reader with error correction"
10 HOMEPAGE="http://www.xiph.org/paranoia"
11 SRC_URI="http://downloads.xiph.org/releases/${PN}/${MY_P}.src.tgz
12 http://dev.gentoo.org/~ssuominen/${MY_P}-patches-2.tbz2"
13
14 LICENSE="GPL-2 LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
17 IUSE="static-libs"
18
19 S=${WORKDIR}/${MY_P}
20
21 src_prepare() {
22 EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
23
24 mv configure.guess config.guess
25 mv configure.sub config.sub
26
27 sed -i -e '/configure.\(guess\|sub\)/d' configure.in || die
28
29 eautoconf
30 elibtoolize
31 }
32
33 src_configure() {
34 tc-export AR CC RANLIB
35 append-flags -I"${S}/interface"
36 econf
37 }
38
39 src_compile() {
40 emake OPT="${CFLAGS}"
41 use static-libs && emake lib OPT="${CFLAGS}"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20