Last active
December 17, 2015 04:39
-
-
Save rkmathi/5552303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2013 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bsearch/bsearch-1.5.0.ebuild,v 1.1 2012/12/10 19:02:05 graaff Exp $ | |
EAPI=5 | |
USE_RUBY="ruby19" | |
RUBY_FAKEGEM_TASK_DOC="" | |
RUBY_FAKEGEM_EXTRADOC="Documentation/*" | |
inherit ruby-fakegem | |
DESCRIPTION="Rack HTTP server for fast clients and Unix" | |
HOMEPAGE="http://unicorn.bogomips.org/" | |
LICENSE="|| ( GPL-2 GPL-3 Ruby )" | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
IUSE="examples" | |
ruby_add_rdepend " | |
dev-ruby/rack | |
>=dev-ruby/kgio-2.6 | |
>=dev-ruby/raindrops-0.7 | |
" | |
each_ruby_configure() { | |
${RUBY} -C ext/unicorn_http extconf.rb || die "extconf.rb failed" | |
} | |
each_ruby_compile() { | |
emake -C ext/unicorn_http CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" | |
cp ext/unicorn_http/*.so lib || die | |
} | |
each_ruby_test() { | |
${RUBY} -Ilib test/test_helper.rb || die "Test failed" | |
} | |
each_ruby_install() { | |
doman man/man1/*.1 | |
use examples && dodoc -r examples | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment