arduino: install package_index.json. fixes #3476.

This commit is contained in:
Enno Boland 2015-08-29 14:13:23 +02:00
parent 1512a84ef6
commit 2b6d70a23e

View file

@ -1,7 +1,7 @@
# Template file for 'arduino'
pkgname=arduino
version=1.6.5
revision=1
revision=2
makedepends="openjdk"
hostmakedepends="apache-ant unzip ImageMagick"
depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude"
@ -31,7 +31,7 @@ do_build() {
cp bin/libastyle-2.05.1j.so \
../../../Arduino-$version/build/linux/work/lib/libastylej.so
cd ../../../Arduino-$version/build
ant linux-build
ant linux-build package-library-index-json-bundle
sed -i -e "s#{runtime\.tools\.[^.]*\.path}#/usr#g" \
-e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \
linux/work/hardware/arduino/avr/platform.txt \