summaryrefslogtreecommitdiff
blob: fcbc74c81d97e9e6a9400ebeaaa5b7472a1ae0d2 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/libmustux-0.20.2-r1.ebuild,v 1.7 2006/10/28 00:45:27 flameeyes Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

inherit eutils kde-functions autotools libtool multilib

DESCRIPTION="Protux - Library"
HOMEPAGE="http://www.nongnu.org/protux"
SRC_URI="http://vt.shuis.tudelft.nl/~remon/protux/stable/version-${PV}/${P}.tar.gz"

IUSE=""

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"

RDEPEND="|| ( ( x11-libs/libXt )
	virtual/x11 )
	=x11-libs/qt-3*
	media-libs/alsa-lib"

set-qtdir 3

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch "${FILESDIR}/${P}-qualifications.patch"

	eautoreconf
	elibtoolize
}

src_compile() {
	econf \
		--with-qt-lib-dir="${QTDIR}/$(get_libdir)" \
		|| die "Error: econf failed"
	emake || die "Error: emake failed"
}

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