Magellan Linux

Annotation of /trunk/extras/ladspa-cmt/ladspa-cmt-1.16-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1057 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/ladspa-cmt/ladspa-cmt-1.16-r1.smage2,v 1.1 2008/05/31 17:54:22 niro Exp $
2    
3     PNAME="ladspa-cmt"
4     PVER="1.16"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Computer Music Toolkit LADSPA plugins (CMT)."
11     HOMEPAGE="http://www.ladspa.org/"
12    
13     DEPEND=">= media-libs/ladspa-sdk-1.13"
14     SDEPEND=">= sys-apps/sed-4"
15    
16     SRCFILE="cmt_src_${PVER}.tgz"
17     SRCDIR="${BUILDDIR}/cmt"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     http://www.ladspa.org/download/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}/src
30    
31     # force usage of our CFLAGS
32     sed -i "/^CFLAGS/ s/-O3/${CFLAGS}/" makefile || die
33    
34     # gcc4 issues
35     sed -i "s:-Werror::g" makefile || die
36    
37     # fix some hardcoded pathes
38     sed -i -e "s:/usr/local/include::g" \
39     -e "s:/usr/local/lib::g" \
40     makefile || die
41     }
42    
43     src_compile()
44     {
45     cd ${SRCDIR}/src
46     mmake || die
47     }
48    
49     src_install()
50     {
51     cd ${SRCDIR}
52    
53     minstalldir /usr/$(mlibdir)/ladspa || die
54     minstallexec plugins/\*.so /usr/$(mlibdir)/ladspa || die
55     minstalldocs README doc/COPYING || die
56     }

Properties

Name Value
svn:keywords Id