diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-06-02 06:34:58 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-06-02 06:34:58 +0000 |
commit | 94bff1651a8bf8352564c7038e45d95096d9b990 (patch) | |
tree | 76c9a58fefafe02f1efc4ca28bacf81f3d86027e /media-sound/vlevel/vlevel-0.5-r1.ebuild | |
parent | Initial import (diff) | |
download | gentoo-2-94bff1651a8bf8352564c7038e45d95096d9b990.tar.gz gentoo-2-94bff1651a8bf8352564c7038e45d95096d9b990.tar.bz2 gentoo-2-94bff1651a8bf8352564c7038e45d95096d9b990.zip |
Revision bump. Respect LDFLAGS (bug #335514) and update to EAPI 4.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/vlevel/vlevel-0.5-r1.ebuild')
-rw-r--r-- | media-sound/vlevel/vlevel-0.5-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/vlevel/vlevel-0.5-r1.ebuild b/media-sound/vlevel/vlevel-0.5-r1.ebuild new file mode 100644 index 000000000000..1b1142eb1832 --- /dev/null +++ b/media-sound/vlevel/vlevel-0.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vlevel/vlevel-0.5-r1.ebuild,v 1.1 2011/06/02 06:34:58 radhermit Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Dynamic compressor to amplify quiet parts of music" +HOMEPAGE="http://vlevel.sourceforge.net/" +SRC_URI="mirror://sourceforge/vlevel/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="media-libs/ladspa-sdk" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) CXXFLAGS="$CXXFLAGS -fPIC -DPIC" +} + +src_install() { + emake PREFIX="${D}/usr/bin/" LADSPA_PREFIX="${D}/usr/$(get_libdir)/ladspa/" install + + dodoc README TODO docs/* + + exeinto /usr/share/doc/${PF}/examples + doexe utils/{levelplay,raw2wav,vlevel-dir} + docinto examples + dodoc utils/README + docompress -x /usr/share/doc/${PF}/examples/{levelplay,raw2wav,vlevel-dir} +} |