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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 29 13:53:10 2012 UTC (2 years, 5 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
keyword ~amd64-fbsd

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

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

  ViewVC Help
Powered by ViewVC 1.1.20