summaryrefslogtreecommitdiff
blob: 17c6ef35f137292ef390b64d560d5aeb2c6d1e03 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-patch-bay/alsa-patch-bay-0.3.ebuild,v 1.4 2003/07/12 23:41:04 aliz Exp $

DESCRIPTION="Graphical patch bay for the ALSA sequencer API."
HOMEPAGE="http://pkl.net/~node/alsa-patch-bay.html"
LICENSE="GPL-2"
SLOT="0"

DEPEND=">=dev-cpp/gtkmm-2.0.2
	>=media-sound/alsa-driver-0.9.0_rc1
	>=media-libs/alsa-lib-0.9.0_rc1
	>=media-sound/alsa-utils-0.9.0_rc1"

KEYWORDS="~x86"

# Alsa-patch-bay can use either gtkmm of fltk.	However, it fails to build
# against Gentoo's fltk, I believe because Gentoo's fltk is built as static.
# So we use gtkmm only. But I've included use variables in case fltk changes.
# In that case, we can add if-then statements to the ./configure section
#IUSE="fltk gtkmm"

SRC_URI="http://pkl.net/~node/software/${P}.tar.gz"
S=${WORKDIR}/${P}

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--disable-fltk || die "./configure failed"
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
        dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
}