/[gentoo-x86]/media-sound/aumix/aumix-2.7-r4.ebuild
Gentoo

Contents of /media-sound/aumix/aumix-2.7-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.23 - (show annotations) (download)
Mon Nov 8 23:30:41 2004 UTC (15 years ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.22: +1 -1 lines
FILE REMOVED
Removing old versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/aumix-2.7-r4.ebuild,v 1.22 2004/06/24 23:51:43 agriffis Exp $
4
5 IUSE="gpm nls gtk gnome alsa"
6
7 DESCRIPTION="Aumix volume/mixer control program."
8 SRC_URI="http://jpj.net/~trevor/aumix/${P}.tar.gz"
9 HOMEPAGE="http://jpj.net/~trevor/aumix/"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="x86 ppc sparc alpha hppa"
14
15 DEPEND=">=sys-libs/ncurses-5.2
16 gpm? ( >=sys-libs/gpm-1.19.3 )
17 alsa? ( >=media-libs/alsa-lib-0.5.10 )
18 gtk? ( =x11-libs/gtk+-1.2* )
19 nls? ( sys-devel/gettext )"
20
21 src_compile() {
22 local myconf
23 use gpm || myconf="${myconf} --without-gpm"
24 use nls || myconf="${myconf} --disable-nls"
25 use gtk || myconf="${myconf} --without-gtk"
26 use alsa || myconf="${myconf} --without-alsa"
27
28 econf ${myconf} || die "econf failed"
29 emake || die "make failed"
30 }
31
32 src_install() {
33 make DESTDIR=${D} install || die
34
35 dodoc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
36
37 if use gnome; then
38 insinto /usr/share/gnome/apps/Multimedia
39 doins ${FILESDIR}/aumix.desktop
40 dodir /usr/share/pixmaps
41 ln -s ../aumix/aumix.xpm ${D}/usr/share/pixmaps
42 fi
43
44 exeinto /etc/init.d ; newexe ${FILESDIR}/aumix.rc6 aumix
45 }

  ViewVC Help
Powered by ViewVC 1.1.20