diff --git a/srcpkgs/spin2cpp/template b/srcpkgs/spin2cpp/template index 39a98853d8..d6a0d7f155 100644 --- a/srcpkgs/spin2cpp/template +++ b/srcpkgs/spin2cpp/template @@ -1,6 +1,6 @@ # Template file for 'spin2cpp' pkgname=spin2cpp -version=5.0.3 +version=5.1.1 revision=1 build_style=gnu-makefile hostmakedepends="bison" @@ -9,7 +9,7 @@ maintainer="Jürgen Buchmüller " license="MIT" homepage="https://github.com/totalspectrum/spin2cpp/" distfiles="https://github.com/totalspectrum/${pkgname}/archive/v${version}.tar.gz" -checksum=d19d4c9230e35e34df6d689634ce49c6752f386a77171ca3ae01aa1700a7b549 +checksum=72cc53a17c528541170361d70344f08bdf6ac719c875b6bbd71e0ae398d1eea8 CFLAGS="-I. -I./build -DFLEXSPIN_BUILD -fcommon" @@ -18,10 +18,14 @@ do_check() { } do_install() { + vmkdir usr/bin + vmkdir usr/libexec/p2tools/bin for f in flexcc flexspin spin2cpp; do - vbin build/$f + vinstall build/$f 755 usr/libexec/p2tools/bin/ + ln -s /usr/libexec/p2tools/bin/$f ${DESTDIR}/usr/bin/ done - vmkdir usr/share/${pkgname} - vcopy doc usr/share/${pkgname} + vmkdir usr/libexec/p2tools + vcopy include usr/libexec/p2tools + vcopy doc usr/libexec/p2tools vlicense COPYING }