summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-15 14:23:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-15 14:23:38 +0100
commit527558f7308e16385eadeaeffcd15117cc66e100 (patch)
tree2ce42672a9b9c7eddd00dc88e3077cb447eb79ef
parenta0deaa2aa55c42627339355fa98537693c0bfaa5 (diff)
convert to use ruby-host
-rw-r--r--package/yajl/Makefile2
-rw-r--r--scripts/scan-pkgs.sh11
2 files changed, 1 insertions, 12 deletions
diff --git a/package/yajl/Makefile b/package/yajl/Makefile
index 44f7d247b..79248e4d9 100644
--- a/package/yajl/Makefile
+++ b/package/yajl/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= c953a53344c0e20a892fc042bbe69744
PKG_DESCR:= a small event-driven JSON parser written in ANSI C
PKG_SECTION:= libs
-PKG_BUILDDEP:= cmake-host
+PKG_BUILDDEP:= cmake-host ruby-host
PKG_URL:= http://lloyd.github.com/yajl/
PKG_SITES:= http://openadk.org/distfiles/
PKG_OPTS:= dev
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh
index 597e8f108..b6c932772 100644
--- a/scripts/scan-pkgs.sh
+++ b/scripts/scan-pkgs.sh
@@ -113,10 +113,6 @@ if [[ -n $ADK_PACKAGE_EGLIBC ]]; then
NEED_GPERF="$NEED_GPERF eglibc"
fi
-if [[ -n $ADK_PACKAGE_YAJL ]]; then
- NEED_RUBY="$NEED_RUBY yajl"
-fi
-
if [[ -n $ADK_PACKAGE_XBMC ]]; then
NEED_SDLDEV="$NEED_SDLDEV xbmc"
NEED_SDLIMAGEDEV="$NEED_SDLIMAGEDEV xbmc"
@@ -293,13 +289,6 @@ if [[ -n $NEED_GXX ]]; then
fi
fi
-if [[ -n $NEED_RUBY ]]; then
- if ! which ruby >/dev/null 2>&1; then
- echo >&2 You need ruby to build $NEED_RUBY
- out=1
- fi
-fi
-
if [[ -n $NEED_XKBCOMP ]]; then
if ! which xkbcomp >/dev/null 2>&1; then
echo >&2 You need xkbcomp to build $NEED_XKBCOMP