diff --git a/srcpkgs/python-msp430-tools/template b/srcpkgs/python-msp430-tools/template new file mode 100644 index 0000000000..4078cf68af --- /dev/null +++ b/srcpkgs/python-msp430-tools/template @@ -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 " +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 +}