ruby: add ruby with version to hostmakedepends
This commit is contained in:
parent
fa4434cefa
commit
29599f68ab
1 changed files with 1 additions and 2 deletions
|
@ -14,14 +14,13 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/2.2/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/2.2/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955
|
checksum=1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
hostmakedepends="pkg-config bison groff doxygen graphviz"
|
hostmakedepends="pkg-config bison groff doxygen graphviz"
|
||||||
makedepends="zlib-devel readline-devel>=6.3 libffi-devel libressl-devel>=2.1.2
|
makedepends="zlib-devel readline-devel>=6.3 libffi-devel libressl-devel>=2.1.2
|
||||||
gdbm-devel libyaml-devel pango-devel"
|
gdbm-devel libyaml-devel pango-devel"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" ruby"
|
hostmakedepends+=" ruby>=${version}_${revision}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
|
Loading…
Reference in a new issue