/[gentoo-x86]/media-libs/sdl-net/sdl-net-1.2.8.ebuild
Gentoo

Contents of /media-libs/sdl-net/sdl-net-1.2.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Apr 1 11:12:13 2012 UTC (2 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
alpha/ia64/sparc stable wrt #405361

(Portage version: 2.1.10.49/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.8.ebuild,v 1.7 2012/03/12 19:44:46 maekke Exp $
4
5 EAPI=2
6 MY_P=${P/sdl-/SDL_}
7 DESCRIPTION="Simple Direct Media Layer Network Support Library"
8 HOMEPAGE="http://www.libsdl.org/projects/SDL_net/index.html"
9 SRC_URI="http://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
10
11 LICENSE="ZLIB"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
14 IUSE="static-libs"
15
16 DEPEND=">=media-libs/libsdl-1.2.14"
17
18 S=${WORKDIR}/${MY_P}
19
20 src_configure() {
21 econf \
22 --disable-dependency-tracking \
23 --disable-gui \
24 $(use_enable static-libs static)
25 }
26
27 src_install() {
28 emake DESTDIR="${D}" install || die
29 dodoc CHANGES README
30 if ! use static-libs ; then
31 find "${D}" -type f -name '*.la' -exec rm {} + \
32 || die "la removal failed"
33 fi
34 }

  ViewVC Help
Powered by ViewVC 1.1.20