install cordova from ubuntu ppa
This commit is contained in:
		@@ -34,15 +34,6 @@ AC_PATH_PROG(ANDROID, [android], [0],
 | 
			
		||||
                      [${PATH}${PATH_SEPARATOR}${ANDROID_HOME}/tools])
 | 
			
		||||
AC_PATH_PROG(CORDOVA, [cordova], [0],
 | 
			
		||||
                      [${PATH}${PATH_SEPARATOR}$(pwd)/node_modules/cordova/bin])
 | 
			
		||||
if test ${CORDOVA} = 0; then
 | 
			
		||||
   AC_CHECK_PROG(NODE_NPM, [npm node], [1], [0])
 | 
			
		||||
   if test ${NODE_NPM} -eq 1; then
 | 
			
		||||
      if npm install cordova; then
 | 
			
		||||
         AC_PATH_PROG(CORDOVA, [cordova], [0],
 | 
			
		||||
                               [${PATH}${PATH_SEPARATOR}$(pwd)/node_modules/cordova/bin])
 | 
			
		||||
      fi
 | 
			
		||||
   fi
 | 
			
		||||
fi
 | 
			
		||||
AM_CONDITIONAL(HAVE_CORDOVA, [test ${CORDOVA} != 0 -a ${ANDROID} != 0])
 | 
			
		||||
AX_SUBST(CORDOVA)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								debian/control.in
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/control.in
									
									
									
									
										vendored
									
									
								
							@@ -1,7 +1,7 @@
 | 
			
		||||
Source: @PACKAGE_NAME@
 | 
			
		||||
Priority: extra
 | 
			
		||||
Maintainer: @AUTHOR@
 | 
			
		||||
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release, doxygen, graphviz, mscgen, npm, node
 | 
			
		||||
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release, doxygen, graphviz, mscgen, cordova-cli
 | 
			
		||||
 | 
			
		||||
Package: @PACKAGE_NAME@
 | 
			
		||||
Section: web
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user