diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-07-28 20:59:21 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-07-28 20:59:21 +0000 |
commit | cc2d74db92a6591943d3c8b5b2f7b0ed649b1fb2 (patch) | |
tree | 2cf9a398c405a8aae6fdd2cdb6c3d34e0f1461a8 /media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild | |
parent | Version bump (diff) | |
download | historical-cc2d74db92a6591943d3c8b5b2f7b0ed649b1fb2.tar.gz historical-cc2d74db92a6591943d3c8b5b2f7b0ed649b1fb2.tar.bz2 historical-cc2d74db92a6591943d3c8b5b2f7b0ed649b1fb2.zip |
go multilib
Package-Manager: portage-2.2.0_alpha190/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild')
-rw-r--r-- | media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild b/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild new file mode 100644 index 000000000000..2986f0e39424 --- /dev/null +++ b/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild,v 1.1 2013/07/28 20:59:13 aballier Exp $ + +EAPI=5 +inherit autotools eutils flag-o-matic libtool toolchain-funcs versionator multilib-minimal + +MY_P=${PN}-III-$(get_version_component_range 2-3) +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="http://www.xiph.org/paranoia" +SRC_URI="http://downloads.xiph.org/releases/${PN}/${MY_P}.src.tgz + http://dev.gentoo.org/~ssuominen/${MY_P}-patches-2.tbz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="app-admin/eselect-cdparanoia + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r4 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${MY_P} + +src_prepare() { + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches + + mv configure.guess config.guess + mv configure.sub config.sub + + sed -i -e '/configure.\(guess\|sub\)/d' configure.in || die + + eautoconf + elibtoolize + + multilib_copy_sources +} + +multilib_src_configure() { + tc-export AR CC RANLIB + append-flags -I"${S}/interface" + econf +} + +multilib_src_compile() { + emake OPT="${CFLAGS}" + use static-libs && emake lib OPT="${CFLAGS}" +} + +multilib_src_install_all() { + mv "${ED}"/usr/bin/${PN}{,-paranoia} +} + +pkg_postinst() { + eselect ${PN} update ifunset +} + +pkg_postrm() { + eselect ${PN} update ifunset +} |