/[gentoo-x86]/media-libs/freealut/freealut-1.1.0-r3.ebuild
Gentoo

Contents of /media-libs/freealut/freealut-1.1.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Nov 2 09:06:49 2014 UTC (3 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Stable for alpha, wrt bug #525554

(Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --include-arches="alpha", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/freealut/freealut-1.1.0-r3.ebuild,v 1.9 2014/10/29 09:35:25 ago Exp $
4
5 EAPI=5
6 inherit eutils autotools multilib-minimal
7
8 DESCRIPTION="The OpenAL Utility Toolkit"
9 HOMEPAGE="http://www.openal.org/"
10 SRC_URI="http://connect.creativelabs.com/openal/Downloads/ALUT/${P}.tar.gz"
11
12 LICENSE="LGPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
15 IUSE="static-libs"
16
17 RDEPEND="
18 abi_x86_32? (
19 !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
20 !<=app-emulation/emul-linux-x86-sdl-20140406
21 )
22 >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}]"
23 DEPEND="${RDEPEND}"
24
25 src_prepare() {
26 # Link against openal and pthread
27 sed -i -e 's/libalut_la_LIBADD = .*/& -lopenal -lpthread/' src/Makefile.am
28 AT_M4DIR="${S}/admin/autotools/m4" eautoreconf
29 }
30
31 multilib_src_configure() {
32 ECONF_SOURCE=${S} econf \
33 $(use_enable static-libs static)
34 }
35
36 multilib_src_install_all() {
37 dohtml doc/*
38 prune_libtool_files
39 }

  ViewVC Help
Powered by ViewVC 1.1.20