blob: 760d857e31b62e20917bd12c2fb1196159434e7d (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v 1.17 2009/07/19 20:47:54 ssuominen Exp $
EAPI=2
MY_P=${PN}-0.9.0rc1-2
inherit autotools eutils
DESCRIPTION="AlsaMixerGui - a FLTK based amixer Frontend"
HOMEPAGE="http://www.gentoo.org"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND="media-libs/alsa-lib
media-sound/alsa-utils
x11-libs/fltk:1.1"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc34.patch \
"${FILESDIR}"/segfault-on-exit.patch \
"${FILESDIR}"/${P}-fltk-1.1.patch
eautoreconf
}
src_configure() {
export LDFLAGS="-L/usr/$(get_libdir)/fltk-1.1 ${LDFLAGS}"
export CPPFLAGS="-I/usr/include/fltk-1.1 ${CPPFLAGS}"
econf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README AUTHORS ChangeLog
newicon src/images/alsalogo.xpm ${PN}.xpm
make_desktop_entry alsamixergui "Alsa Mixer GUI" ${PN}
}
|