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

S=${WORKDIR}/mix-2000
DESCRIPTION="The OSS sound mixer from the bcast2000 people; now orphaned."

# This is an uglier version, without glib and png support
#SRC_URI="http://www.tux.org/pub/packages/orphaned/broadcast2000/mix2000.tar.gz"
SRC_URI="http://diddl.firehead.org/software/unix/media/heroine/mix-2000-src.tar.gz"
HOMEPAGE="http://www.geocities.com/Hollywood/3709/mix2000.html"

DEPEND=" virtual/x11
	media-libs/libpng
	sys-libs/zlib
	>=dev-libs/glib-1.2.0"

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

src_compile() {
	cp configure configure.orig
	sed -e '/^CFLAGS +=/s:$: -I/usr/X11R6/include:'	\
		-e '/^LIBS =/s/-lglib/$(glib-config --libs)/' \
		< configure.orig > configure

	./configure || die
	make || die
}

src_install () {
	dodoc README COPYING
	dobin mix/mix2000
}