blob: a601bb052de0a602cb6c6875e161ab896e2dbcec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.3.1.ebuild,v 1.6 2007/04/13 21:24:47 welp Exp $
inherit eutils libtool autotools
DESCRIPTION="TSE3 Sequencer library"
HOMEPAGE="http://TSE3.sourceforge.net/"
SRC_URI="mirror://sourceforge/tse3/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="alsa oss arts"
RDEPEND="alsa? ( media-libs/alsa-lib )
arts? ( kde-base/arts )"
DEPEND="${RDEPEND}
sys-devel/automake
sys-devel/autoconf
sys-devel/libtool"
src_unpack() {
unpack ${A}
cd "${S}"
# support 64bit machines properly
epatch "${FILESDIR}"/${PN}-0.2.7-size_t-64bit.patch
# gcc-4 patch (bug #100708)
epatch "${FILESDIR}"/${PN}-0.2.7-gcc4.patch
epatch "${FILESDIR}/${P}-parallelmake.patch"
eautoreconf
elibtoolize
}
src_compile() {
local myconf="--without-doc-install"
use arts || myconf="${myconf} --without-arts"
use alsa || myconf="${myconf} --without-alsa"
use oss || myconf="${myconf} --without-oss"
econf ${myconf} || die "./configure failed"
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README THANKS TODO doc/History
dohtml doc/*.html doc/*.gif doc/*.png
}
|