summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild')
-rw-r--r--media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild30
1 files changed, 14 insertions, 16 deletions
diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild
index 847f0491eed0..49305320b38b 100644
--- a/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild
+++ b/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild
@@ -1,41 +1,39 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild,v 1.8 2004/01/14 21:31:16 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.14.ebuild,v 1.9 2004/03/15 02:43:49 eradicator Exp $
DESCRIPTION="CMT (computer music toolkit) Lasdpa library plugins"
HOMEPAGE="http://www.ladspa.org/"
LICENSE="LGPL-2.1"
-DEPEND="media-libs/ladspa-sdk"
SRC_URI="http://www.ladspa.org/download/cmt_src.tgz"
+
KEYWORDS="x86"
SLOT="0"
S=${WORKDIR}/cmt/src
-P=cmt_src
-src_unpack() {
- unpack "${P}.tgz"
- cd "${S}"
- sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
- -e 's|/usr/local/include||g' \
- -e 's|/usr/local/lib||g' \
- makefile > makefile.new
- mv makefile.new makefile
+RDEPEND="media-libs/ladspa-sdk"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
+ -e 's|/usr/local/include||g' \
+ -e 's|/usr/local/lib||g' \
+ makefile
}
+
src_compile() {
emake || die
}
src_install() {
-
dodoc ../doc/*
insinto /usr/lib/ladspa
INSOPTIONS="-m755"
doins ../plugins/*.so
-
-
-
}