/[gentoo-x86]/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild
Gentoo

Contents of /media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat May 5 07:00:19 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.7 2011/10/24 05:51:12 tetromino Exp $
4
5 EAPI=3
6
7 GCONF_DEBUG=no
8 PYTHON_DEPEND="2:2.6"
9
10 inherit gnome2 python
11
12 DESCRIPTION="Font preview application"
13 HOMEPAGE="http://uwstopia.nl"
14 SRC_URI="http://uwstopia.nl/geek/projects/${PN}/releases/${P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE=""
20
21 RDEPEND="dev-python/gconf-python
22 dev-python/libgnome-python
23 dev-python/pygtk
24 dev-python/pygobject:2"
25 DEPEND="${RDEPEND}
26 dev-util/intltool
27 virtual/pkgconfig
28 sys-devel/gettext"
29
30 pkg_setup() {
31 python_set_active_version 2
32 python_pkg_setup
33
34 DOCS="AUTHORS ChangeLog NEWS README TODO"
35 }
36
37 src_prepare() {
38 rm -f py-compile
39 ln -s $(type -P true) py-compile
40
41 gnome2_src_prepare
42 }
43
44 src_install() {
45 gnome2_src_install
46
47 python_convert_shebangs 2 "${D}"/usr/bin/${PN}
48 }
49
50 pkg_postinst() {
51 python_mod_optimize specimen
52 gnome2_pkg_postinst
53 }
54
55 pkg_postrm() {
56 python_mod_cleanup specimen
57 gnome2_pkg_postrm
58 }

  ViewVC Help
Powered by ViewVC 1.1.20