parent
fda3f3d993
commit
d088443e39
2 changed files with 34 additions and 0 deletions
1
srcpkgs/simavr-devel
Symbolic link
1
srcpkgs/simavr-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
simavr
|
33
srcpkgs/simavr/template
Normal file
33
srcpkgs/simavr/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'simavr'
|
||||
pkgname=simavr
|
||||
version=1.6
|
||||
revision=1
|
||||
hostmakedepends="pkgconf"
|
||||
makedepends="elfutils-devel libfreeglut-devel avr-libc"
|
||||
short_desc="Lean, mean, and hackable AVR simulator"
|
||||
maintainer="Robert Lowry <bobertlo@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/buserror/simavr"
|
||||
distfiles="https://github.com/buserror/simavr/archive/v${version}.tar.gz"
|
||||
checksum=a55ad04d055eef5656c49f78bc089968b059c6efb6a831618b8d7e67a840936d
|
||||
CFLAGS="-fPIC -Wno-error=stringop-truncation"
|
||||
|
||||
do_build() {
|
||||
make RELEASE=1 build-simavr
|
||||
make RELEASE=1 -C examples/parts
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR}/usr install
|
||||
}
|
||||
|
||||
simavr-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue