summaryrefslogtreecommitdiff
blob: af656268826a342571e2a5e0903bc99a78d76587 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rexima/rexima-1.4.ebuild,v 1.3 2004/03/01 05:37:15 eradicator Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="A curses-based interactive mixer which can also be used from the command-line."
HOMEPAGE="http://rus.members.beeb.net/rexima.html"
SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/apps/sound/mixers/${PN}-${PV}.tar.gz"

DEPEND="virtual/glibc
	sys-libs/ncurses"

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

S="${WORKDIR}/${P}"

src_compile() {
	cd ${S}
	mv Makefile Makefile.orig
	cat Makefile.orig | sed "s%/usr/local%/usr%" > Makefile
	emake || die
}

src_install () {
	cd ${S}

	make \
		PREFIX=${D}/usr \
		BINDIR=${D}/usr/bin \
		MANDIR=${D}/usr/share/man \
		install || die

	dodoc COPYING NEWS README
}