audio/portmidi: Added symlink for compatibility with older software.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
David Woodfall 2011-06-11 11:52:52 +02:00 committed by Robby Workman
parent 07be6f2408
commit 2c1a5d30b4
2 changed files with 6 additions and 3 deletions

View file

@ -26,7 +26,7 @@
PRGNAM=portmidi
VERSION=${VERSION:-217}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -92,7 +92,10 @@ make all \
PMFLAGS="-DNEWBUFFER"
make install DESTDIR=$PKG
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a
cd $PKG/usr/lib$LIBDIRSUFFIX
rm -f libportmidi_s.a
ln -s libportmidi.so libporttime.so
cd -
# I think this may cause problems unless it's renamed
mv $PKG/usr/bin/test $PKG/usr/bin/portmiditest

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net"
APPROVED="rworkman"
APPROVED="pprkut"