avrdude 1.7.3
This commit is contained in:
parent
ded400bf14
commit
f9626af9a1
49
avrdude/alr.sh
Normal file
49
avrdude/alr.sh
Normal file
@ -0,0 +1,49 @@
|
||||
name='avrdude'
|
||||
epoch='1'
|
||||
version='7.3'
|
||||
release='1'
|
||||
desc='Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers'
|
||||
homepage='https://github.com/avrdudes/avrdude/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('GPL')
|
||||
provides=('avrdude')
|
||||
conflicts=('avrdude' 'avrdude-git')
|
||||
|
||||
deps=(
|
||||
'elfutils'
|
||||
'hidapi'
|
||||
'libftdi'
|
||||
'libusb-compat-0.1'
|
||||
'readline'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'cmake'
|
||||
'ninja-build'
|
||||
'flex'
|
||||
'bison'
|
||||
)
|
||||
|
||||
sources=("https://github.com/avrdudes/avrdude/archive/refs/tags/v${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${name}-${version}
|
||||
|
||||
cmake -B build \
|
||||
-G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-D BUILD_SHARED_LIBS=1 \
|
||||
-D HAVE_LINUXGPIO=1 \
|
||||
-D HAVE_LINUXSPI=1
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${name}-${version}
|
||||
|
||||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
}
|
Loading…
Reference in New Issue
Block a user