WiringPi: remove noarch
This commit is contained in:
parent
8673315fd8
commit
b344f6e0d0
1 changed files with 4 additions and 6 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'WiringPi'
|
# Template file for 'WiringPi'
|
||||||
pkgname=WiringPi
|
pkgname=WiringPi
|
||||||
version=0.0.20200408
|
version=0.0.20200408
|
||||||
revision=1
|
revision=2
|
||||||
_githash=50b7c5ed7d238a637db7d9c73978466eb022a8de
|
_githash=50b7c5ed7d238a637db7d9c73978466eb022a8de
|
||||||
_sover=2.60
|
_sover=2.60
|
||||||
build_style=meta
|
|
||||||
wrksrc="${pkgname}-${_githash}"
|
|
||||||
archs="arm*"
|
archs="arm*"
|
||||||
|
wrksrc="${pkgname}-${_githash}"
|
||||||
|
build_style=meta
|
||||||
depends="libwiringPi-${version}_${revision}
|
depends="libwiringPi-${version}_${revision}
|
||||||
libwiringPi-dev-${version}_${revision}
|
libwiringPi-dev-${version}_${revision}
|
||||||
WiringPi-gpio-${version}_${revision}
|
WiringPi-gpio-${version}_${revision}
|
||||||
|
@ -18,7 +18,7 @@ homepage="http://wiringpi.com/"
|
||||||
distfiles="https://github.com/WiringPi/WiringPi/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/WiringPi/WiringPi/archive/${_githash}.tar.gz"
|
||||||
checksum=ba83290d3c5e4cd3fd470321ab2a85133334014532e5f275ef4d699ccaf72fc5
|
checksum=ba83290d3c5e4cd3fd470321ab2a85133334014532e5f275ef4d699ccaf72fc5
|
||||||
|
|
||||||
CFLAGS="-Wno-unused-result -I. -I../wiringPi -I../devLib"
|
CFLAGS="-fcommon -Wno-unused-result -I. -I../wiringPi -I../devLib"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
find -name Makefile -exec sed -i "{}" \
|
find -name Makefile -exec sed -i "{}" \
|
||||||
|
@ -104,9 +104,7 @@ WiringPi-gpio_package() {
|
||||||
|
|
||||||
WiringPi-examples_package() {
|
WiringPi-examples_package() {
|
||||||
short_desc+=" - examples"
|
short_desc+=" - examples"
|
||||||
archs="noarch"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/examples
|
vmove usr/share/examples
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue