/[gentoo-x86]/app-emulation/libspectrum/libspectrum-0.5.0.1.ebuild
Gentoo

Contents of /app-emulation/libspectrum/libspectrum-0.5.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 3 18:49:07 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libspectrum/libspectrum-0.5.0.1.ebuild,v 1.2 2009/01/25 17:38:35 darkside Exp $
4
5 inherit eutils autotools
6
7 DESCRIPTION="Spectrum emulation library"
8 HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
9 SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="audiofile bzip2 zlib"
15
16 RDEPEND="zlib? ( sys-libs/zlib )
17 bzip2? ( >=app-arch/bzip2-1.0 )
18 >=dev-libs/glib-2
19 audiofile? ( >=media-libs/audiofile-0.2.3 )"
20 DEPEND="${RDEPEND}
21 dev-lang/perl
22 virtual/pkgconfig"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 #submitted upstream at:
28 # http://sf.net/tracker/index.php?func=detail&aid=2533274&group_id=91293&atid=596650
29 epatch "${FILESDIR}/${P}-without-bzip2_zlib.patch"
30 eautoreconf
31 }
32
33 src_compile() {
34 econf --with-glib \
35 $(use_with zlib zlib) \
36 $(use_with bzip2 bzip2) \
37 $(use_with audiofile libaudiofile) \
38 || die "econf failed!"
39 emake || die "emake failed!"
40 }
41
42 src_install() {
43 emake install DESTDIR="${D}" || die
44 dodoc AUTHORS ChangeLog README THANKS doc/*.txt *.txt
45 doman doc/libspectrum.3
46 }

  ViewVC Help
Powered by ViewVC 1.1.20