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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu May 3 18:49:07 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.4: +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-1.0.0.ebuild,v 1.4 2011/10/15 23:06:46 maekke Exp $
4
5 EAPI="3"
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 gcrypt zlib"
15
16 RDEPEND="zlib? ( sys-libs/zlib )
17 bzip2? ( >=app-arch/bzip2-1.0 )
18 >=dev-libs/glib-2
19 gcrypt? ( dev-libs/libgcrypt )
20 audiofile? ( >=media-libs/audiofile-0.2.3 )"
21 DEPEND="${RDEPEND}
22 dev-lang/perl
23 virtual/pkgconfig"
24
25 src_configure() {
26 econf --with-glib \
27 $(use_with zlib zlib) \
28 $(use_with bzip2 bzip2) \
29 $(use_with audiofile libaudiofile) \
30 $(use_with gcrypt libgcrypt) \
31 || die "econf failed!"
32 }
33
34 src_compile() {
35 emake || die "Compilation failed"
36 }
37
38 src_install() {
39 emake install DESTDIR="${D}" || die "Make install failed"
40 dodoc AUTHORS ChangeLog README THANKS doc/*.txt *.txt
41 doman doc/libspectrum.3
42 }

  ViewVC Help
Powered by ViewVC 1.1.20