瀏覽代碼

convert to use ruby-host

Waldemar Brodkorb 12 年之前
父節點
當前提交
527558f730
共有 2 個文件被更改,包括 1 次插入12 次删除
  1. 1 1
      package/yajl/Makefile
  2. 0 11
      scripts/scan-pkgs.sh

+ 1 - 1
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

+ 0 - 11
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