From 40e6e94338103111f56ff7e1f97645136d4deb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 21 Feb 2021 19:34:24 +0100 Subject: [PATCH] spin2cpp: update to 5.1.1 Use new layout where Propeller 2 tools are installed in a common directory usr/libexec/p2tools. This makes it easier for packages like flexspin to find its include files in ../include which is the default. --- srcpkgs/spin2cpp/template | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 }