/[gentoo-x86]/dev-ruby/rubytorrent/rubytorrent-0.3.ebuild
Gentoo

Contents of /dev-ruby/rubytorrent/rubytorrent-0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Aug 5 09:21:31 2013 UTC (17 months, 3 weeks ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Cleanup old

(Portage version: 2.1.13.5/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubytorrent/rubytorrent-0.3.ebuild,v 1.12 2012/05/01 18:24:03 armin76 Exp $
4
5 inherit ruby
6
7 DESCRIPTION="A pure-Ruby BitTorrent peer library and toolset"
8 HOMEPAGE="http://rubytorrent.rubyforge.org/"
9 SRC_URI="http://rubyforge.org/frs/download.php/3017/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86"
14 IUSE=""
15
16 USE_RUBY="ruby18"
17
18 src_install() {
19 local sitelibdir=`${RUBY} -r rbconfig -e 'puts Config::CONFIG["sitelibdir"]'`
20 insinto "$sitelibdir"
21 doins rubytorrent.rb || die
22 insinto "$sitelibdir/rubytorrent"
23 doins rubytorrent/* || die
24 dodoc doc/* README ReleaseNotes.txt
25 docinto examples
26 dodoc dump-metainfo.rb dump-peers.rb make-metainfo.rb \
27 rtpeer-ncurses.rb rtpeer.rb
28 }
29
30 pkg_postinst() {
31 elog "Examples on how to use this package can be found at /usr/share/doc/${PF}/examples/"
32 }

  ViewVC Help
Powered by ViewVC 1.1.20