/[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.1 - (show annotations) (download)
Wed May 20 19:40:41 2009 UTC (4 years, 11 months ago) by ssuominen
Branch: MAIN
Add sidplay/builders to LDPATH also for runtime.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/05/13 19:53:26 ssuominen Exp $
4
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 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17 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