/[gentoo-x86]/games-puzzle/connectagram/connectagram-1.0.1-r1.ebuild
Gentoo

Contents of /games-puzzle/connectagram/connectagram-1.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 2 21:34:58 2012 UTC (2 years, 8 months ago) by mr_bones_
Branch: MAIN
Changes since 1.2: +6 -5 lines
migrate to qt4-r2 with patch from Michael (kensington) (bug #410377)

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/connectagram/connectagram-1.0.1-r1.ebuild,v 1.2 2010/02/27 18:12:30 phajdan.jr Exp $
4
5 EAPI=2
6 inherit gnome2-utils qt4-r2 games
7
8 DESCRIPTION="A word unscrambling game"
9 HOMEPAGE="http://gottcode.org/connectagram/"
10 SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 x86"
15 IUSE=""
16
17 DEPEND="x11-libs/qt-core:4
18 x11-libs/qt-gui:4"
19
20 src_prepare() {
21 sed -i \
22 -e "/PREFIX/s:/usr/local:/usr:" \
23 -e "/target.path/s:\$\$PREFIX/bin:${GAMES_BINDIR}:" \
24 -e "/definitions.path/s:\$\$PREFIX/share:${GAMES_DATADIR}:" \
25 ${PN}.pro || die
26 }
27
28 src_configure() {
29 qt4-r2_src_configure
30 }
31
32 src_install() {
33 emake INSTALL_ROOT="${D}" install || die
34 dodoc ChangeLog
35 prepgamesdirs
36 }
37
38 pkg_preinst() {
39 gnome2_icon_savelist
40 games_pkg_preinst
41 }
42
43 pkg_postinst() {
44 gnome2_icon_cache_update
45 games_pkg_postinst
46 }
47
48 pkg_postrm() {
49 gnome2_icon_cache_update
50 }

  ViewVC Help
Powered by ViewVC 1.1.20