arduino: fix build.
This commit is contained in:
parent
6da8b9386e
commit
dfb28b86c4
|
@ -6,12 +6,12 @@
|
|||
<chmod perm="755" file="linux/work/arduino" />
|
||||
-
|
||||
- <antcall target="unzip">
|
||||
- <param name="archive_file" value="./libastylej-2.05.zip" />
|
||||
- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.zip" />
|
||||
- <param name="final_folder" value="${staging_folder}/libastylej" />
|
||||
- <param name="archive_file" value="./libastylej-2.05.1.zip" />
|
||||
- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1.zip" />
|
||||
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
||||
- <param name="dest_folder" value="${staging_folder}" />
|
||||
- </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" />
|
||||
</target>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ homepage="http://arduino.cc/"
|
|||
distfiles="
|
||||
https://github.com/arduino/Arduino/archive/${version}.tar.gz
|
||||
${SOURCEFORGE_SITE}/astyle/astyle_2.05.1_linux.tar.gz"
|
||||
checksum="
|
||||
5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f
|
||||
checksum="5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f
|
||||
fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac"
|
||||
nostrip=yes
|
||||
wrksrc=Arduino-$version
|
||||
|
@ -34,8 +33,7 @@ do_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 \
|
||||
linux/work/hardware/platform.keys.rewrite.txt
|
||||
linux/work/hardware/arduino/avr/platform.txt
|
||||
convert linux/work/lib/arduino_icon.ico icon.png
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue