New package: loadp2-045

This commit is contained in:
Jürgen Buchmüller 2021-02-21 19:41:14 +01:00
parent 40e6e94338
commit 55720714f6

22
srcpkgs/loadp2/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'loadp2'
pkgname=loadp2
version=045
revision=1
build_style=gnu-makefile
hostmakedepends="spin2cpp"
depends="spin2cpp"
short_desc="Loader for the Parallax Propeller 2"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT"
homepage="https://github.com/totalspectrum/loadp2"
distfiles="https://github.com/totalspectrum/${pkgname}/archive/v${version}.tar.gz"
checksum=bc7313e386111df921cf07503b468f4a9b0ce580c786de1eaf0484a3289a6613
do_install() {
vmkdir usr/bin
vmkdir usr/libexec/p2tools/bin
vcopy board usr/libexec/p2tools
vinstall build/loadp2 755 usr/libexec/p2tools/bin
ln -s /usr/libexec/p2tools/bin/loadp2 ${DESTDIR}/usr/bin/
vlicense LICENSE
}