/[gentoo-x86]/net-misc/mikutter/mikutter-3.1.1.ebuild
Gentoo

Contents of /net-misc/mikutter/mikutter-3.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 21 19:42:27 2015 UTC (4 years, 6 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -7 lines
use dobin instead of exeinto /usr/bin/ && doexe; drop old

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mikutter/mikutter-3.1.1.ebuild,v 1.1 2014/12/29 12:48:22 naota Exp $
4
5 EAPI=5
6
7 USE_RUBY="ruby20"
8
9 inherit eutils ruby-ng
10
11 if [ "${PV}" = "9999" ]; then
12 EGIT_REPO_URI="git://toshia.dip.jp/mikutter.git"
13 inherit git-2
14 KEYWORDS=""
15 EGIT_SOURCEDIR="${WORKDIR}/all"
16 else
17 MY_P="${PN}.${PV}"
18 SRC_URI="http://mikutter.hachune.net/bin/${MY_P}.tar.gz"
19 KEYWORDS="~amd64"
20 RUBY_S="${PN}"
21 fi
22
23 DESCRIPTION="Simple, powerful and moeful twitter client"
24 HOMEPAGE="http://mikutter.hachune.net/"
25
26 LICENSE="GPL-3"
27 SLOT="0"
28 IUSE="+libnotify sound"
29
30 DEPEND=""
31 RDEPEND="
32 libnotify? ( x11-libs/libnotify )
33 sound? ( media-sound/alsa-utils )"
34
35 ruby_add_rdepend "dev-ruby/addressable
36 dev-ruby/bsearch
37 dev-ruby/delayer
38 dev-ruby/json
39 dev-ruby/memoize
40 >=dev-ruby/moneta-0.7
41 >=dev-ruby/oauth-0.4.7
42 dev-ruby/rcairo
43 >=dev-ruby/ruby-gettext-3.0.1
44 >=dev-ruby/ruby-gtk2-2.2.0
45 dev-ruby/ruby-hmac
46 dev-ruby/typed-array
47 virtual/ruby-ssl"
48
49 all_ruby_unpack() {
50 if [ "${PV}" = "9999" ];then
51 git-2_src_unpack
52 else
53 default
54 fi
55 }
56
57 each_ruby_install() {
58 exeinto /usr/share/mikutter
59 doexe mikutter.rb
60 insinto /usr/share/mikutter
61 doins -r core plugin
62 #if use ruby_targets_ruby21; then
63 # sed -e 's/ruby19/ruby21/' "${FILESDIR}"/mikutter
64 if use ruby_targets_ruby20; then
65 sed -e 's/ruby19/ruby20/' "${FILESDIR}"/mikutter
66 else
67 die
68 fi | newbin - mikutter
69 dodoc README
70 make_desktop_entry mikutter Mikutter \
71 /usr/share/mikutter/core/skin/data/icon.png
72 }

  ViewVC Help
Powered by ViewVC 1.1.20