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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jan 15 20:55:02 2013 UTC (23 months ago) by ssuominen
Branch: MAIN
Introduce eselect-cdparanoia support.

(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 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.2 2012/01/18 11:50:12 ssuominen Exp $
4
5 EAPI=5
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 RDEPEND="app-admin/eselect-cdparanoia"
20 DEPEND=${RDEPEND}
21
22 S=${WORKDIR}/${MY_P}
23
24 src_prepare() {
25 EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
26
27 mv configure.guess config.guess
28 mv configure.sub config.sub
29
30 sed -i -e '/configure.\(guess\|sub\)/d' configure.in || die
31
32 eautoconf
33 elibtoolize
34 }
35
36 src_configure() {
37 tc-export AR CC RANLIB
38 append-flags -I"${S}/interface"
39 econf
40 }
41
42 src_compile() {
43 emake OPT="${CFLAGS}"
44 use static-libs && emake lib OPT="${CFLAGS}"
45 }
46
47 src_install() {
48 default
49 mv "${ED}"/usr/bin/${PN}{,-paranoia}
50 }
51
52 pkg_postinst() {
53 eselect ${PN} update ifunset
54 }
55
56 pkg_postrm() {
57 eselect ${PN} update ifunset
58 }

  ViewVC Help
Powered by ViewVC 1.1.20