arduino: fix build.

This commit is contained in:
Enno Boland 2015-11-05 17:03:03 +01:00
parent 6da8b9386e
commit dfb28b86c4
2 changed files with 6 additions and 8 deletions

View file

@ -6,12 +6,12 @@
<chmod perm="755" file="linux/work/arduino" /> <chmod perm="755" file="linux/work/arduino" />
- -
- <antcall target="unzip"> - <antcall target="unzip">
- <param name="archive_file" value="./libastylej-2.05.zip" /> - <param name="archive_file" value="./libastylej-2.05.1.zip" />
- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.zip" /> - <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1.zip" />
- <param name="final_folder" value="${staging_folder}/libastylej" /> - <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
- <param name="dest_folder" value="${staging_folder}" /> - <param name="dest_folder" value="${staging_folder}" />
- </antcall> - </antcall>
- <copy file="linux/libastylej/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" /> - <copy file="linux/libastylej-2.05.1/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" />
- <chmod perm="755" file="linux/work/lib/libastylej.so" /> - <chmod perm="755" file="linux/work/lib/libastylej.so" />
</target> </target>

View file

@ -12,8 +12,7 @@ homepage="http://arduino.cc/"
distfiles=" distfiles="
https://github.com/arduino/Arduino/archive/${version}.tar.gz https://github.com/arduino/Arduino/archive/${version}.tar.gz
${SOURCEFORGE_SITE}/astyle/astyle_2.05.1_linux.tar.gz" ${SOURCEFORGE_SITE}/astyle/astyle_2.05.1_linux.tar.gz"
checksum=" checksum="5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f
5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f
fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac" fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac"
nostrip=yes nostrip=yes
wrksrc=Arduino-$version wrksrc=Arduino-$version
@ -34,8 +33,7 @@ do_build() {
ant linux-build package-library-index-json-bundle ant linux-build package-library-index-json-bundle
sed -i -e "s#{runtime\.tools\.[^.]*\.path}#/usr#g" \ sed -i -e "s#{runtime\.tools\.[^.]*\.path}#/usr#g" \
-e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \ -e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \
linux/work/hardware/arduino/avr/platform.txt \ linux/work/hardware/arduino/avr/platform.txt
linux/work/hardware/platform.keys.rewrite.txt
convert linux/work/lib/arduino_icon.ico icon.png convert linux/work/lib/arduino_icon.ico icon.png
} }