wok-next view portmidi/receipt @ rev 21044
Change tags a bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 24 12:56:54 2018 +0200 (2018-11-24) |
parents | c9a7a7b42a86 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="portmidi"
4 VERSION="217"
5 CATEGORY="multimedia"
6 SHORT_DESC="Platform Independent Library for MIDI I/O"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://portmedia.sourceforge.net/portmidi/"
11 TARBALL="$PACKAGE-src-$VERSION.zip"
12 WGET_URL="$SF_MIRROR/portmedia/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev cmake"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|/usr/local|/usr|g' */CMakeLists.txt pm_python/setup.py
20 mkdir build
21 cd build
22 cmake .. &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 portmidi)
30 copy @std
31 DEPENDS="alsa-lib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }