clean cvs header
[gentoo-zh.git] / games-misc / fortune-mod-zh / fortune-mod-zh-1.2.2.ebuild
blob3e9581b5d29de58469bbf566303f836d2d19c826
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 DESCRIPTION="Chinese fortune shell script"
5 HOMEPAGE="http://code.google.com/p/chinese-fortune"
6 SRC_URI="http://chinese-fortune.googlecode.com/files/${P}.tar.bz2"
7 RESTRICT="mirror"
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86"
12 IUSE="gnome"
14 RDEPEND="games-misc/fortune-mod
15 app-i18n/zh-autoconvert
16 gnome? ( >=gnome-extra/zenity-2.10.1 )"
18 src_install() {
19 emake DESTDIR="${D}" install || die "emake install failed"
20 if use zenity ; then
21 exeinto /usr/bin
22 doexe gfortune-zh