summaryrefslogtreecommitdiff
blob: 9b80c1546a6972af2bf30d8f3614dcfed170ea7b (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.3.ebuild,v 1.2 2003/07/12 20:30:52 aliz Exp $

IUSE=""
DESCRIPTION="Gnome 2 based ALSA Mixer"
HOMEPAGE="http://www.paw.co.za/projects/gnome-alsamixer"
SRC_URI="ftp://ftp.paw.co.za/pub/PAW/sources/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
RDEPEND=">=media-libs/alsa-lib-0.9.0_rc1
		>=x11-libs/gtk+-2.0.6
		>=gnome-base/libgnomeui-2.0.5"
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		dev-util/desktop-file-utils"
S=${WORKDIR}/${P}

src_compile() {
	econf || die "configure failed"
	emake || die
}

src_install() {
   
    # hack to prevent ugly filenames in /usr/share/applications
	cd ${S}; mv ${PN}.desktop ${PN}.desktop.gentoo	

    einstall || die
	
	# manuall install menu entry
	insinto /usr/share/applications
	newins ${PN}.desktop.gentoo ${PN}.desktop
}