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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Aug 16 14:26:48 2009 UTC (4 years, 10 months ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
Fix changelog
(Portage version: 2.1.6.13/cvs/Linux ia64)

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

  ViewVC Help
Powered by ViewVC 1.1.20