blob: ee1e9769b1e53bbda84db3ff9e0e874846f7b5ca (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fmod/fmod-3.75.ebuild,v 1.3 2012/09/24 00:45:16 vapier Exp $
MY_P="fmodapi${PV/.}linux"
S=${WORKDIR}/${MY_P}
DESCRIPTION="music and sound effects library, and a sound processing system"
HOMEPAGE="http://www.fmod.org/"
SRC_URI="http://www.fmod.org/files/${MY_P}.tar.gz"
LICENSE="BSD fmod-3.75" # BSD is for OggVorbis from README.txt
SLOT="0"
KEYWORDS="-* x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
amd64? ( app-emulation/emul-linux-x86-baselibs )"
RESTRICT="strip"
src_install() {
dolib api/libfmod-${PV}.so
dosym /usr/lib/libfmod-${PV}.so /usr/lib/libfmod.so
insinto /usr/include
doins api/inc/*
insinto /usr/share/${PN}/media
doins media/* || die "doins failed"
cp -r samples "${D}/usr/share/${PN}/" || die "cp failed"
dohtml -r documentation/*
dodoc README.TXT documentation/Revision.txt
}
|