wok-next annotate portmidi/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
slaxemulator@6917 | 2 |
slaxemulator@6917 | 3 PACKAGE="portmidi" |
slaxemulator@6917 | 4 VERSION="217" |
slaxemulator@6917 | 5 CATEGORY="multimedia" |
slaxemulator@6917 | 6 SHORT_DESC="Platform Independent Library for MIDI I/O" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
al@20972 | 9 WEB_SITE="http://portmedia.sourceforge.net/portmidi/" |
al@20972 | 10 |
slaxemulator@6917 | 11 TARBALL="$PACKAGE-src-$VERSION.zip" |
al@20972 | 12 WGET_URL="$SF_MIRROR/portmedia/$TARBALL" |
slaxemulator@6917 | 13 |
al@20972 | 14 BUILD_DEPENDS="alsa-lib-dev cmake" |
al@20972 | 15 SPLIT="$PACKAGE-dev" |
pascal@15379 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 sed -i 's|/usr/local|/usr|g' */CMakeLists.txt pm_python/setup.py |
slaxemulator@6917 | 19 |
al@20972 | 20 mkdir build |
al@20972 | 21 cd build |
al@20972 | 22 cmake .. && |
al@20972 | 23 make && |
al@20972 | 24 make install |
slaxemulator@6917 | 25 } |
slaxemulator@6917 | 26 |
al@20972 | 27 genpkg_rules() { |
al@20972 | 28 case $PACKAGE in |
al@20972 | 29 portmidi) |
al@20972 | 30 copy @std |
al@20972 | 31 DEPENDS="alsa-lib" |
al@20972 | 32 ;; |
al@20972 | 33 *-dev) |
al@20972 | 34 copy @dev |
al@20972 | 35 ;; |
al@20972 | 36 esac |
slaxemulator@6917 | 37 } |