/[gentoo-x86]/media-libs/libsidplay/libsidplay-2.1.1-r2.ebuild
Gentoo

Diff of /media-libs/libsidplay/libsidplay-2.1.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-2.1.1-r2.ebuild,v 1.7 2009/08/31 17:40:18 ranger Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-2.1.1-r2.ebuild,v 1.8 2012/05/16 02:16:03 ssuominen Exp $
4 4
5EAPI=2 5EAPI=4
6inherit eutils libtool 6inherit eutils libtool
7 7
8MY_P=sidplay-libs-${PV} 8MY_P=sidplay-libs-${PV}
9 9
10DESCRIPTION="C64 SID player library" 10DESCRIPTION="C64 SID player library"
12SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz" 12SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz"
13 13
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15SLOT="2" 15SLOT="2"
16KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" 16KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
17IUSE="" 17IUSE="static-libs"
18
19RDEPEND=""
20DEPEND=""
21 18
22S=${WORKDIR}/${MY_P} 19S=${WORKDIR}/${MY_P}
23 20
24src_prepare() { 21src_prepare() {
25 epatch "${FILESDIR}"/libsidplay2-gcc41.patch \ 22 epatch \
23 "${FILESDIR}"/${PN}2-gcc41.patch \
26 "${FILESDIR}"/${P}-fbsd.patch \ 24 "${FILESDIR}"/${P}-fbsd.patch \
27 "${FILESDIR}"/${P}-gcc43.patch 25 "${FILESDIR}"/${P}-gcc43.patch
26
28 elibtoolize 27 elibtoolize
29} 28}
30 29
31src_configure() { 30src_configure() {
32 econf \ 31 econf \
33 --enable-shared \ 32 --enable-shared \
33 $(use_enable static-libs static) \
34 --with-pic 34 --with-pic
35} 35}
36 36
37src_install() { 37src_install() {
38 emake DESTDIR="${D}" install || die "emake install failed" 38 emake DESTDIR="${D}" install
39 39
40 cd "${S}"/libsidplay
41 docinto libsidplay 40 docinto libsidplay
42 dodoc AUTHORS ChangeLog README TODO 41 dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO}
43 42
44 cd "${S}"/libsidutils
45 docinto libsidutils 43 docinto libsidutils
46 dodoc AUTHORS ChangeLog README TODO 44 dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO}
47 45
48 cd "${S}"/resid
49 docinto resid 46 docinto resid
50 dodoc AUTHORS ChangeLog NEWS README THANKS TODO 47 dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}
51 48
52 doenvd "${FILESDIR}"/65resid 49 doenvd "${FILESDIR}"/65resid
50
51 find "${ED}" -name '*.la' -exec rm -f {} +
53} 52}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20