/[gentoo-x86]/media-sound/timidity++/timidity++-2.10.4.ebuild
Gentoo

Contents of /media-sound/timidity++/timidity++-2.10.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 6 10:08:19 2001 UTC (18 years, 1 month ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
partual gtk+ dep update / move to /usr

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Your Name <your email>
4 # $Header: /home/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.10.4.ebuild,v 1.2 2001/09/29 23:23:21 drobbins Exp $
5
6 #P=
7 A=TiMidity++-${PV}.tar.bz2
8 S=${WORKDIR}/TiMidity++-${PV}
9 DESCRIPTION=""
10 SRC_URI="http://www.goice.co.jp/member/mo/timidity/dist/TiMidity++-${PV}.tar.bz2"
11 HOMEPAGE="http://www.goice.co.jp/member/mo/timidity/"
12
13 DEPEND=">=sys-libs/ncurses-5.0
14 X? ( >=x11-base/xfree-4.0 )
15 motif? ( >=x11-libs/openmotif-2.1 )
16 tcltk? ( >=dev-lang/tcl-tk-8.1 )
17 nas? ( >=media-sound/nas-1.4 )
18 alsa? ( >=media-libs/alsa-lib-0.5.10 )
19 esd? ( >=media-sound/esound-0.2.22 )
20 gtk? ( >=x11-libs/gtk+-1.2.8 )
21 slang? ( >=sys-libs/slang-1.4 )
22 vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
23
24 src_compile() {
25 local myconf
26 local audios
27 local interfaces
28
29 interfaces="dynamic,ncurses,emacs,vt100"
30 audios="oss"
31
32 if [ "`use X`" ]
33 then
34 myconf="${myconf} --with-x"
35 interfaces="${interfaces},xskin,xaw"
36 else
37 myconf="${myconf} --without-x"
38 fi
39 if [ "`use slang`" ]
40 then
41 interfaces="${interfaces},slang"
42 fi
43 if [ "`use gtk`" ]
44 then
45 interfaces="${interfaces},gtk"
46 fi
47 if [ "`use motif`" ]
48 then
49 interfaces="${interfaces},motif"
50 fi
51 if [ "`use alsa`" ]
52 then
53 audios="${audios},alsa"
54 interfaces="${interfaces},alsaseq"
55 myconf="${myconf} --with-default-output=alsa"
56 fi
57 if [ "`use esd`" ]
58 then
59 audios="${audios},esd"
60 fi
61 if [ "`use vorbis`" ]
62 then
63 audios="${audios},vorbis"
64 fi
65 if [ "`use nas`" ]
66 then
67 audios="${audios},nas"
68 fi
69
70 try ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man\
71 --with-elf \
72 --enable-audio=${audios} \
73 --enable-interface=${interfaces} \
74 --enable-server --enable-network \
75 --enable-spectrogram --enable-wrd \
76 ${myconf}
77 try make
78 }
79
80 src_install () {
81 try make DESTDIR=${D} install
82 dodoc AUTHORS COPYING ChangeLog* INSTALL*
83 dodoc NEWS README*
84 }

  ViewVC Help
Powered by ViewVC 1.1.20