/[gentoo-x86]/app-dicts/verbiste/verbiste-0.1.38-r1.ebuild
Gentoo

Contents of /app-dicts/verbiste/verbiste-0.1.38-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jun 8 11:09:58 2014 UTC (5 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for ppc, wrt bug #510666

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38-r1.ebuild,v 1.3 2014/06/07 19:12:47 ago Exp $
4
5 EAPI="5"
6
7 inherit eutils gnome2-utils fdo-mime
8
9 DESCRIPTION="French conjugation system"
10 HOMEPAGE="http://sarrazip.com/dev/verbiste.html"
11 SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="amd64 ppc x86"
16
17 IUSE="gtk"
18
19 RDEPEND="
20 >=dev-libs/libxml2-2.4.0:2
21 gtk? ( >=x11-libs/gtk+-2.6:2 )
22 "
23 DEPEND="${RDEPEND}
24 sys-devel/gettext
25 virtual/pkgconfig
26 "
27
28 src_configure() {
29 econf \
30 --with-console-app \
31 --without-gnome-app \
32 --without-gnome-applet \
33 $(use_with gtk gtk-app)
34 }
35
36 src_install() {
37 default
38 prune_libtool_files
39 dodoc HACKING LISEZMOI
40 # file is only installed with USE=gnome
41 if use gtk; then
42 sed -e 's/Exec=.*/Exec=verbiste-gtk/' \
43 -i src/gnome/verbiste.desktop || die
44 insinto usr/share/applications
45 doins src/gnome/verbiste.desktop
46 fi
47 }
48
49 pkg_preinst() {
50 if use gtk; then
51 gnome2_icon_savelist
52 fi
53 }
54
55 pkg_postinst() {
56 if use gtk; then
57 fdo-mime_desktop_database_update
58 fdo-mime_mime_database_update
59 gnome2_icon_cache_update
60 fi
61 }
62
63 pkg_postrm() {
64 if use gtk; then
65 fdo-mime_desktop_database_update
66 fdo-mime_mime_database_update
67 gnome2_icon_cache_update
68 fi
69 }

  ViewVC Help
Powered by ViewVC 1.1.20