blob: 9eef5a1874562c730c7546bd87fcbb0f0ced0eda (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/lingot/lingot-0.8.1.ebuild,v 1.1 2010/04/13 16:46:44 ssuominen Exp $
EAPI=2
inherit autotools eutils
DESCRIPTION="LINGOT Is Not a Guitar-Only Tuner"
HOMEPAGE="http://www.nongnu.org/lingot"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa jack"
RDEPEND="x11-libs/gtk+:2
>=gnome-base/libglade-2
alsa? ( media-libs/alsa-lib )
jack? ( >=media-sound/jack-audio-connection-kit-0.102 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
sys-devel/gettext"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.7.6-clean-install.patch
eautoreconf
}
src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable alsa) \
$(use_enable jack)
}
src_install() {
emake DESTDIR="${D}" lingotdocdir="/usr/share/doc/${PF}" \
install || die
prepalldocs
}
|