blob: 3ef7961d45e2061613505248db8158ae89c87860 (
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 Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmusepack/libmusepack-1.0.1.ebuild,v 1.4 2004/09/22 10:31:54 eradicator Exp $
IUSE=""
inherit eutils
DESCRIPTION="Musepack decoder library"
HOMEPAGE="http://www.musepack.net"
SRC_URI="http://perso.wanadoo.fr/reservoir/mpc/${S}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
src_unpack () {
unpack ${A}
cd ${S}
sed -i 's:-O2 -march=i686 -pipe:${CFLAGS}:g' Makefile
}
src_compile() {
emake || die "make failed"
}
src_install() {
insinto /usr/include/musepack
doins *.h
dolib.so libmusepack.so.1.0.1
dosym libmusepack.so.1.0.1 /usr/$(get_libdir)/libmusepack.so.1
dosym libmusepack.so.1.0.1 /usr/$(get_libdir)/libmusepack.so
}
|