wok annotate rtaudio-dev/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | a95a29f222cc |
children | 240f8e28cdcd |
rev | line source |
---|---|
pankso@13565 | 1 # SliTaz package receipt. |
pankso@13565 | 2 |
pankso@13565 | 3 PACKAGE="rtaudio-dev" |
pankso@13565 | 4 VERSION="4.0.11" |
pankso@13565 | 5 CATEGORY="development" |
pankso@13565 | 6 SHORT_DESC="Rtaudio C++ classes devel files." |
pankso@13565 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
pankso@13565 | 9 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" |
pankso@13565 | 10 WANTED="rtaudio" |
pankso@13565 | 11 |
pankso@13565 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13565 | 13 genpkg_rules() |
pankso@13565 | 14 { |
pankso@13565 | 15 mkdir -p $fs/usr/bin $fs/usr/include/rtaudio |
pankso@13565 | 16 cp -a $src/rtaudio-config $fs/usr/bin |
pankso@13565 | 17 cp -a $src/*.h $fs/usr/include/rtaudio |
pankso@13565 | 18 cp -a $src/include/*.h $fs/usr/include/rtaudio |
pankso@13565 | 19 # GCC fix |
pankso@13565 | 20 sed -i "/inline/s/;$//" "$fs/usr/include/rtaudio/RtAudio.h" |
pankso@13565 | 21 } |