summaryrefslogtreecommitdiff
blob: 79767d6943ad384a218c40092d8d697ce3fcaf28 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdj/bpmdj-2.0.1.ebuild,v 1.1 2003/09/29 02:21:13 jje Exp $

inherit eutils
S=${WORKDIR}/bpmdj-2.0

DESCRIPTION="Bpmdj, software for measuring the BPM of music and mixing"
HOMEPAGE="http://bpmdj.strokemusic.org"
SRC_URI="ftp://progpc26.vub.ac.be/pub/bpmdj/2.0/bpmdj-2.0.source.tgz
	ftp://progpc26.vub.ac.be/pub/bpmdj/2.0/patch-2.0-to-2.0.1.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="x11-libs/qt*
	virtual/tetex"

RDEPEND="mpg123"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${WORKDIR}/patch-2.0-to-2.0.1
	epatch ${FILESDIR}/gcc.patch
}


src_compile() {
	cp defines.gentoo defines
	make ${MAKEOPTS} CPP=g++ CC=gcc VARTEXFONTS=${T}/fonts || die
}

src_install () {
	make DESTDIR=${D} deb-install || die
	mv ${D}/usr/share/doc/{${PN},${PF}}
}