/[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.8 - (hide annotations) (download)
Wed May 16 02:16:03 2012 UTC (2 years, 3 months ago) by ssuominen
Branch: MAIN
Changes since 1.7: +14 -15 lines
USE="static-libs" and punt useless libtool files

(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)

1 ssuominen 1.8 # Copyright 1999-2012 Gentoo Foundation
2 ssuominen 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.8 # $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 $
4 ssuominen 1.1
5 ssuominen 1.8 EAPI=4
6 ssuominen 1.1 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 ranger 1.7 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
17 ssuominen 1.8 IUSE="static-libs"
18 ssuominen 1.1
19     S=${WORKDIR}/${MY_P}
20    
21     src_prepare() {
22 ssuominen 1.8 epatch \
23     "${FILESDIR}"/${PN}2-gcc41.patch \
24 ssuominen 1.1 "${FILESDIR}"/${P}-fbsd.patch \
25     "${FILESDIR}"/${P}-gcc43.patch
26 ssuominen 1.8
27 ssuominen 1.1 elibtoolize
28     }
29    
30     src_configure() {
31     econf \
32     --enable-shared \
33 ssuominen 1.8 $(use_enable static-libs static) \
34 ssuominen 1.1 --with-pic
35     }
36    
37     src_install() {
38 ssuominen 1.8 emake DESTDIR="${D}" install
39 ssuominen 1.1
40     docinto libsidplay
41 ssuominen 1.8 dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO}
42 ssuominen 1.1
43     docinto libsidutils
44 ssuominen 1.8 dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO}
45 ssuominen 1.1
46     docinto resid
47 ssuominen 1.8 dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}
48 ssuominen 1.1
49     doenvd "${FILESDIR}"/65resid
50 ssuominen 1.8
51     find "${ED}" -name '*.la' -exec rm -f {} +
52 ssuominen 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20