diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/erec/erec-2.2.0.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/erec/erec-2.2.0.1.ebuild')
-rw-r--r-- | media-sound/erec/erec-2.2.0.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/erec/erec-2.2.0.1.ebuild b/media-sound/erec/erec-2.2.0.1.ebuild new file mode 100644 index 000000000000..128267ee67b5 --- /dev/null +++ b/media-sound/erec/erec-2.2.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="A shared audio recording server" +HOMEPAGE="http://bisqwit.iki.fi/source/erec.html" +SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2" + +KEYWORDS="amd64 ~ppc sparc x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND="sys-apps/sed" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s:BINDIR=/usr/local/bin:BINDIR=${D}usr/bin:" \ + -e "s:^\\(ARGHLINK.*-L.*\\):#\\1:" \ + -e "s:^#\\(ARGHLINK=.*a\\)$:\\1:" \ + -e "s:\$(CXX):\$(CXX) \$(CXXFLAGS) -I\"${S}\"/argh:g" \ + Makefile + + sed -i \ + -e "s:CPPFLAGS=:CPPFLAGS=-I\"${S}\"/argh :" \ + Makefile.sets + + echo "" > .depend + echo "" > argh/.depend + epatch "${FILESDIR}/${P}-gcc43.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -j1 || die +} + +src_install() { + dobin erec || die + dodoc README + dohtml README.html +} |