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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 7 22:31:19 2015 UTC (3 years, 5 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2010 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-r1.ebuild,v 1.2 2010/04/30 10:46:48 ssuominen Exp $
4
5 EAPI=2
6 inherit autotools eutils
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 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
15 IUSE=""
16
17 DEPEND="media-libs/openal"
18
19 src_prepare() {
20 # Link against openal and pthread
21 sed -i -e 's/libalut_la_LIBADD = .*/& -lopenal -lpthread/' src/Makefile.am
22 AT_M4DIR="${S}/admin/autotools/m4" eautoreconf
23 }
24
25 src_configure() {
26 econf \
27 --libdir=/usr/$(get_libdir)
28 }
29
30 src_compile() {
31 emake all || die
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die
36 dodoc AUTHORS ChangeLog NEWS README
37 dohtml doc/*
38 }

  ViewVC Help
Powered by ViewVC 1.1.20