New package: python-msp430-tools-0.6
This commit is contained in:
parent
5e0f05cb4f
commit
2599d28933
1 changed files with 28 additions and 0 deletions
28
srcpkgs/python-msp430-tools/template
Normal file
28
srcpkgs/python-msp430-tools/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'python-msp430-tools'
|
||||||
|
pkgname=python-msp430-tools
|
||||||
|
version=0.6
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="${pkgname}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="msp430"
|
||||||
|
hostmakedepends="python-setuptools"
|
||||||
|
depends="python python-pyserial"
|
||||||
|
short_desc="Collection of tools related to the MSP430 embedded processor"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="http://pypi.python.org/pypi/python-msp430-tools"
|
||||||
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=a18edfcf99fdddd82d9cd64e19a5688d164cd464030ae55c5f6bac471ac48b44
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
for f in scripts/*.py; do
|
||||||
|
mv $f ${f%.py}
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
rm ${DESTDIR}/usr/bin/msp430-gdb # clash with msp430-toolchain
|
||||||
|
rm ${DESTDIR}/usr/bin/msp430-downloader # needs EasyDialogs
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue