/[gentoo-x86]/games-puzzle/picpuz/picpuz-2.5.ebuild
Gentoo

Contents of /games-puzzle/picpuz/picpuz-2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Mar 2 19:27:15 2014 UTC (6 months, 3 weeks ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Fix pthread underlinking.

(Portage version: 2.2.8_p53/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/picpuz/picpuz-2.5.ebuild,v 1.3 2012/08/07 22:30:26 johu Exp $
4
5 EAPI=4
6 inherit eutils gnome2-utils games
7
8 DESCRIPTION="A jigsaw puzzle program"
9 HOMEPAGE="http://kornelix.squarespace.com/picpuz/"
10 SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/gtk+:3"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 PATCHES=( "${FILESDIR}"/${P}-build.patch "${FILESDIR}"/${P}-pthread-underlinking.patch )
22
23 src_compile() {
24 emake \
25 BINDIR="${GAMES_BINDIR}" \
26 DATADIR="${GAMES_DATADIR}"/${PN} \
27 DOCDIR=/usr/share/doc/${PF}/html
28 }
29
30 src_install() {
31 dogamesbin ${PN}
32 insinto "${GAMES_DATADIR}"/${PN}
33 doins -r icons locales
34 doicon -s 48 icons/${PN}.png
35 make_desktop_entry ${PN} Picpuz
36 dohtml -r doc/{userguide-en.html,images}
37 dodoc doc/{changelog,README,translations}
38 newman doc/${PN}.man ${PN}.1
39 prepgamesdirs
40 }
41
42 pkg_preinst() {
43 games_pkg_preinst
44 gnome2_icon_savelist
45 }
46
47 pkg_postinst() {
48 games_pkg_postinst
49 gnome2_icon_cache_update
50 }
51
52 pkg_postrm() {
53 gnome2_icon_cache_update
54 }

  ViewVC Help
Powered by ViewVC 1.1.20