
Receipt for package "portmidi"
# SliTaz package receipt. PACKAGE="portmidi" VERSION="217" CATEGORY="multimedia" SHORT_DESC="Platform Independent Library for MIDI I/O" MAINTAINER="slaxemulator@gmail.com" LICENSE="MIT" TARBALL="$PACKAGE-src-$VERSION.zip" WEB_SITE="https://portmedia.sourceforge.net/portmidi/" WGET_URL="$SF_MIRROR/portmedia/$PACKAGE/$VERSION/$TARBALL" DEPENDS="alsa-lib" BUILD_DEPENDS="alsa-lib-dev cmake unzip" HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/portmedia/files/portmidi/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/portmidi/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src patch -Np1 -i $stuff/portmidi-217-Makefile.patch # Prefix Fix sed -i "s_\(/usr\)/local_\1_" \ */CMakeLists.txt \ pm_python/setup.py # Installation Fix #mkdir -p pm_java/Release # CMake configuration cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \ -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/* $fs/usr }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)