/[gentoo-x86]/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1.ebuild
Gentoo

Contents of /games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Jul 11 20:39:07 2015 UTC (2 years, 5 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
dev-perl/locale-maketext-lexicon just became dev-perl/Locale-Maketext-Lexicon

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0B08240A96F66571)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1.ebuild,v 1.11 2015/06/13 19:43:23 dilfridge Exp $
4
5 EAPI=5
6 MY_P=${P/_/-}
7 inherit eutils gnome2-utils perl-module toolchain-funcs games
8
9 DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)"
10 HOMEPAGE="http://www.frozen-bubble.org/"
11 SRC_URI="http://www.frozen-bubble.org/data/${MY_P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND=">=dev-lang/perl-5.12
19 >=dev-libs/glib-2
20 >=dev-perl/Alien-SDL-1.413
21 dev-perl/Compress-Bzip2
22 dev-perl/File-ShareDir
23 dev-perl/File-Slurp
24 dev-perl/File-Which
25 dev-perl/IPC-System-Simple
26 >=dev-perl/SDL-2.511
27 media-libs/sdl-image[gif,png]
28 media-libs/sdl-mixer[vorbis]
29 media-libs/sdl-pango
30 media-libs/sdl-ttf
31 virtual/libiconv
32 virtual/perl-Getopt-Long
33 virtual/perl-IO"
34 DEPEND="${RDEPEND}
35 virtual/pkgconfig
36 dev-perl/Locale-Maketext-Lexicon
37 virtual/perl-ExtUtils-CBuilder
38 virtual/perl-ExtUtils-ParseXS
39 dev-perl/Module-Build"
40
41 S=${WORKDIR}/${MY_P}
42
43 src_prepare() {
44 perl-module_src_prepare
45 epatch "${FILESDIR}"/${P}-Werror.patch
46 }
47
48 src_configure() {
49 LD=$(tc-getCC) perl-module_src_configure
50 }
51
52 src_compile() {
53 LD=$(tc-getCC) perl-module_src_compile
54 }
55
56 src_install() {
57 mydoc="AUTHORS Changes HISTORY README" perl-module_src_install
58
59 dodir "${GAMES_BINDIR}"
60 mv -vf "${D}"/usr/bin/f* "${D}/${GAMES_BINDIR}" || die
61
62 newdoc server/README README.server
63 newdoc server/init/README README.server.init
64
65 local res
66 for res in 16 32 48 64; do
67 newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png
68 done
69
70 make_desktop_entry ${PN} Frozen-Bubble
71
72 prepgamesdirs
73 }
74
75 pkg_preinst() {
76 games_pkg_preinst
77 gnome2_icon_savelist
78 }
79
80 pkg_postinst() {
81 games_pkg_postinst
82 gnome2_icon_cache_update
83 }
84
85 pkg_postrm() {
86 gnome2_icon_cache_update
87 }

  ViewVC Help
Powered by ViewVC 1.1.20