blob: a8a7a0fdd1c19af82567c9b0508ae72045fd886e (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spectromatic/spectromatic-1.0.ebuild,v 1.2 2008/02/13 15:01:21 markusle Exp $
inherit eutils
IUSE=""
MY_P="spectromatic_1.0-1"
DESCRIPTION="Generates spectrograms (time-frequency analysis images) from mono or stereo wave files."
HOMEPAGE="http://ieee.uow.edu.au/~daniel/software/spectromatic/"
SRC_URI="http://ieee.uow.edu.au/~daniel/software/spectromatic/dist/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE="bindist"
DEPEND=">=media-libs/libpng-1.2.4
!bindist? ( sci-libs/gsl )
bindist? ( <sci-libs/gsl-1.10 )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gentoo.diff
epatch "${FILESDIR}"/${P}-stringliteral.patch
}
src_compile() {
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dobin spectromatic
doman spectromatic.1
dodoc README || die
}
|