From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/csfml: metadata.xml ChangeLog csfml-1.6.ebuild |
Date: | Mon, 07 Feb 2011 11:08:14 |
Message-Id: | 20110207110805.5027E20054@flycatcher.gentoo.org |
1 | radhermit 11/02/07 11:08:05 |
2 | |
3 | Added: metadata.xml ChangeLog csfml-1.6.ebuild |
4 | Log: |
5 | Initial import. Split from media-libs/libsfml. |
6 | |
7 | (Portage version: 2.2.0_alpha20/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/csfml/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version = '1.0' encoding = 'UTF-8'?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>games</herd> |
21 | <maintainer> |
22 | <email>radhermit@g.o</email> |
23 | <name>Tim Harder</name> |
24 | </maintainer> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 media-libs/csfml/ChangeLog |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/ChangeLog?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/ChangeLog?rev=1.1&content-type=text/plain |
33 | |
34 | Index: ChangeLog |
35 | =================================================================== |
36 | # ChangeLog for media-libs/csfml |
37 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/media-libs/csfml/ChangeLog,v 1.1 2011/02/07 11:08:05 radhermit Exp $ |
39 | |
40 | *csfml-1.6 (07 Feb 2011) |
41 | |
42 | 07 Feb 2011; Tim Harder <radhermit@g.o> +csfml-1.6.ebuild, |
43 | +files/csfml-1.6-destdir.patch, +metadata.xml: |
44 | Initial import. Split from media-libs/libsfml. |
45 | |
46 | |
47 | |
48 | |
49 | 1.1 media-libs/csfml/csfml-1.6.ebuild |
50 | |
51 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/csfml-1.6.ebuild?rev=1.1&view=markup |
52 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/csfml/csfml-1.6.ebuild?rev=1.1&content-type=text/plain |
53 | |
54 | Index: csfml-1.6.ebuild |
55 | =================================================================== |
56 | # Copyright 1999-2011 Gentoo Foundation |
57 | # Distributed under the terms of the GNU General Public License v2 |
58 | # $Header: /var/cvsroot/gentoo-x86/media-libs/csfml/csfml-1.6.ebuild,v 1.1 2011/02/07 11:08:05 radhermit Exp $ |
59 | |
60 | EAPI=4 |
61 | |
62 | inherit eutils multilib toolchain-funcs |
63 | |
64 | DESCRIPTION="C library for the Simple and Fast Multimedia Library (SFML)" |
65 | HOMEPAGE="http://sfml.sourceforge.net/" |
66 | SRC_URI="mirror://sourceforge/sfml/SFML-${PV}-c-sdk-linux-32.tar.gz" |
67 | |
68 | LICENSE="as-is" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | IUSE="doc" |
72 | |
73 | DEPEND="media-libs/libsfml" |
74 | RDEPEND="${DEPEND}" |
75 | |
76 | S="${WORKDIR}/SFML-${PV}/CSFML" |
77 | |
78 | src_prepare() { |
79 | epatch "${FILESDIR}"/${P}-destdir.patch |
80 | } |
81 | |
82 | src_compile() { |
83 | emake CPP=$(tc-getCXX) |
84 | } |
85 | |
86 | src_install() { |
87 | emake DESTDIR="${D}" prefix=/usr libdir=/usr/$(get_libdir) install |
88 | use doc && dohtml doc/html/* |
89 | } |