/[gentoo-x86]/media-gfx/tuxpaint/tuxpaint-0.9.16-r1.ebuild
Gentoo

Contents of /media-gfx/tuxpaint/tuxpaint-0.9.16-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Apr 30 22:51:59 2007 UTC (11 years, 5 months ago) by genone
Branch: MAIN
Changes since 1.4: +5 -5 lines
Replacing einfo with elog
(Portage version: 2.1.2.5)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.16-r1.ebuild,v 1.4 2007/04/08 19:51:24 welp Exp $
4
5 inherit eutils gnome2-utils
6
7 DESCRIPTION="Drawing program designed for young children"
8 HOMEPAGE="http://www.tuxpaint.org/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14
15 IUSE="nls"
16
17 DEPEND="media-libs/libsdl
18 media-libs/sdl-image
19 media-libs/sdl-ttf
20 media-libs/sdl-mixer
21 >=media-libs/libpng-1.2
22 >=media-libs/freetype-2
23 media-libs/netpbm
24 nls? ( sys-devel/gettext )"
25
26
27 src_unpack() {
28 unpack "${A}"
29 cd "${S}"
30
31 # Sanitize the Makefile and correct a few other issues.
32 epatch "${FILESDIR}"/${P}-gentoo-r1.patch
33 }
34
35 src_compile() {
36 local myopts=""
37
38 use nls && myopts="${myopts} ENABLE_GETTEXT=1"
39
40 # emake may break things
41 make ${myopts} || die "Compilation failed"
42 }
43
44 src_install () {
45 local myopts=""
46
47 use nls && myopts="${myopts} ENABLE_GETTEXT=1"
48
49 make PKG_ROOT="${D}" ${myopts} install || die "Installation failed"
50
51 rm -f docs/COPYING.txt docs/INSTALL.txt
52 dodoc docs/*.txt
53 }
54
55 pkg_postinst() {
56 gnome2_icon_cache_update
57
58 elog ""
59 elog "For additional graphic stamps, you can emerge the"
60 elog "media-gfx/tuxpaint-stamps package."
61 elog ""
62 }

  ViewVC Help
Powered by ViewVC 1.1.20