ruby: add ruby with version to hostmakedepends

This commit is contained in:
Enno Boland 2015-01-03 15:44:04 +01:00
parent fa4434cefa
commit 29599f68ab

View file

@ -14,14 +14,13 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/2.2/${pkgname}-${version}.tar.bz2"
checksum=1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955
nocross=yes
hostmakedepends="pkg-config bison groff doxygen graphviz"
makedepends="zlib-devel readline-devel>=6.3 libffi-devel libressl-devel>=2.1.2
gdbm-devel libyaml-devel pango-devel"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" ruby"
hostmakedepends+=" ruby>=${version}_${revision}"
fi
pre_build() {