# Template file for 'loadp2' pkgname=loadp2 version=045 revision=2 build_style=gnu-makefile hostmakedepends="spin2cpp" depends="spin2cpp" short_desc="Loader for the Parallax Propeller 2" maintainer="Orphaned " 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 }