wok view rtmidi/receipt @ rev 25802
Add rtmidi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 04 17:46:04 2024 +0000 (2 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rtmidi"
4 VERSION="6.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="C++ library for realtime MIDI input/ouput"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.music.mcgill.ca/~gary/rtmidi/"
11 WGET_URL="${WEB_SITE}release/$TARBALL"
13 DEPENDS="gcc83-lib-base alsa-lib"
14 BUILD_DEPENDS="gcc83 alsa-lib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2> /dev/null | \
20 sed '/release\/rtmidi/!d;s|.*rtmidi-||;s|.tar.gz.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --with-alsa \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 $CONFIGURE_ARGS
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/librtmidi.so* $fs/usr/lib/
39 }