/[gentoo-x86]/media-libs/csfml/csfml-1.6.ebuild
Gentoo

Contents of /media-libs/csfml/csfml-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Aug 3 04:08:37 2014 UTC (5 years, 5 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Use specific libsfml version dep.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

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/csfml/csfml-1.6.ebuild,v 1.2 2012/12/03 21:36:05 radhermit Exp $
4
5 EAPI=4
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="C library for the Simple and Fast Multimedia Library (SFML)"
10 HOMEPAGE="http://sfml.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/sfml/SFML-${PV}-c-sdk-linux-32.tar.gz"
12
13 LICENSE="ZLIB"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="doc"
17
18 DEPEND="~media-libs/libsfml-${PV}"
19 RDEPEND="${DEPEND}"
20
21 S="${WORKDIR}/SFML-${PV}/CSFML"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-destdir.patch
25 }
26
27 src_compile() {
28 emake CPP=$(tc-getCXX)
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" prefix=/usr libdir=/usr/$(get_libdir) install
33 use doc && dohtml doc/html/*
34 }

  ViewVC Help
Powered by ViewVC 1.1.20