/[gentoo-x86]/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.0.ebuild
Gentoo

Contents of /dev-ruby/ruby-filemagic/ruby-filemagic-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 29 04:55:51 2015 UTC (2 years, 10 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ruby-filemagic-0.6.3.ebuild,v 1.1 2015/02/14 02:42:35 mrueg Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO"
10
11 RUBY_FAKEGEM_TASK_TEST=""
12
13 inherit multilib ruby-fakegem
14
15 DESCRIPTION="Ruby binding to libmagic"
16 HOMEPAGE="https://github.com/blackwinter/ruby-filemagic"
17
18 LICENSE="Ruby"
19 SLOT="0"
20 KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
21 IUSE=""
22
23 DEPEND="${DEPEND} sys-apps/file"
24 RDEPEND="${RDEPEND} sys-apps/file"
25
26 each_ruby_configure() {
27 ${RUBY} -Cext/filemagic extconf.rb || die
28 }
29
30 each_ruby_compile() {
31 emake V=1 -Cext/filemagic
32 mv ext/filemagic/ruby_filemagic$(get_modname) lib/filemagic/ || die
33 }
34
35 each_ruby_test() {
36 ${RUBY} -Ctest -I../lib filemagic_test.rb || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20