wok diff portmidi/receipt @ rev 15625
nut: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 16:00:02 2013 +0000 (2013-12-08) |
parents | be13f25e790b |
children | 44d6f3a2ee81 |
line diff
1.1 --- a/portmidi/receipt Sun Feb 20 06:53:59 2011 +0000 1.2 +++ b/portmidi/receipt Sun Dec 08 16:00:02 2013 +0000 1.3 @@ -5,12 +5,14 @@ 1.4 CATEGORY="multimedia" 1.5 SHORT_DESC="Platform Independent Library for MIDI I/O" 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 -DEPENDS="alsa-lib" 1.8 -BUILD_DEPENDS="alsa-lib-dev cmake" 1.9 +LICENSE="MIT" 1.10 TARBALL="$PACKAGE-src-$VERSION.zip" 1.11 WEB_SITE="http://portmedia.sourceforge.net/portmidi/" 1.12 WGET_URL="$SF_MIRROR/portmedia/$PACKAGE/$VERSION/$TARBALL" 1.13 1.14 +DEPENDS="alsa-lib" 1.15 +BUILD_DEPENDS="alsa-lib-dev cmake" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 @@ -32,13 +34,13 @@ 1.21 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \ 1.22 -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release 1.23 1.24 - make && make DESTDIR=$PWD/_pkg install 1.25 + make && make DESTDIR=$DESTDIR install 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 mkdir -p $fs/usr 1.32 - cp -a $_pkg/usr/* $fs/usr 1.33 + cp -a $install/usr/* $fs/usr 1.34 } 1.35