wok view portmidi/receipt @ rev 16420
Add jansson and mygestures for mouse-gesture on touchscreen
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 01:43:00 2014 +0200 (2014-04-18) |
parents | be13f25e790b |
children | 44d6f3a2ee81 |
line source
1 # SliTaz package receipt.
3 PACKAGE="portmidi"
4 VERSION="217"
5 CATEGORY="multimedia"
6 SHORT_DESC="Platform Independent Library for MIDI I/O"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-src-$VERSION.zip"
10 WEB_SITE="http://portmedia.sourceforge.net/portmidi/"
11 WGET_URL="$SF_MIRROR/portmedia/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="alsa-lib"
14 BUILD_DEPENDS="alsa-lib-dev cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/portmidi-217-Makefile.patch
22 # Prefix Fix
23 sed -i "s_\(/usr\)/local_\1_" \
24 */CMakeLists.txt \
25 pm_python/setup.py
27 # Installation Fix
28 #mkdir -p pm_java/Release
30 # CMake configuration
31 cmake . \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
34 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
35 -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/* $fs/usr
45 }