diff --git a/srcpkgs/portmidi/template b/srcpkgs/portmidi/template index 93e9f79f7f..0049334bdf 100644 --- a/srcpkgs/portmidi/template +++ b/srcpkgs/portmidi/template @@ -1,22 +1,26 @@ -# Template build for 'portmidi'. +# Template file for 'portmidi' pkgname=portmidi version=217 -revision=1 -short_desc="real-time input and output of MIDI data" -hostmakedepends="unzip" -maintainer="Enno Boland " -license="GPL" -homepage="http://portmedia.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip" -checksum="08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f" -makedepends="alsa-lib-devel" +revision=2 +wrksrc="portmidi" build_style=cmake -wrksrc=$pkgname configure_args="-DCMAKE_INSTALL_PREFIX=/usr \ -DPORTMIDI_ENABLE_JAVA=OFF \ -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \ -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release" +hostmakedepends="unzip" +makedepends="alsa-lib-devel" +short_desc="Real-time input and output of MIDI data" +maintainer="Enno Boland " +license="MIT" +homepage="http://portmedia.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip" +checksum=08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f + +post_install() { + vlicense license.txt +} portmidi-devel_package() { depends="portmidi>=${version}_${revision}"