wok-next view portmidi/receipt @ rev 21336
updated lighttpd-ssl (1.4.35 -> 1.5.54)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 13 14:49:06 2019 +0100 (2019-12-13) |
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 }