|
|
|
@ -24,19 +24,21 @@
|
|
|
|
|
# |
|
|
|
|
# Latest fluidsynth sourcecode is available at: <http://www.fluidsynth.org/>. |
|
|
|
|
# |
|
|
|
|
# Recommends: l/liblrdf |
|
|
|
|
# Optional: ap/jack, l/libsndfile |
|
|
|
|
# |
|
|
|
|
# Note: LADSPA support is available (requiring l/liblrdf), but the |
|
|
|
|
# developers currently recommend against enabling it. |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-fluidsynth} |
|
|
|
|
VERSION=${VERSION:-1.1.1} |
|
|
|
|
VERSION=${VERSION:-1.1.2} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://mirrors.aixtools.net/sv/fluid/$ARCHIVE} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/fluidsynth/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-fluidsynth} |
|
|
|
|
BUILD=${BUILD:-1GGD} |
|
|
|
|
ARCH=${ARCH:-i486} |
|
|
|
|
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')} |
|
|
|
|
JOBS=${JOBS:-1} |
|
|
|
|
EXT=${EXT:-txz} |
|
|
|
|
|
|
|
|
@ -92,8 +94,7 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--prefix=/usr \ |
|
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX \ |
|
|
|
|
--mandir=/usr/man \ |
|
|
|
|
--disable-static \ |
|
|
|
|
--enable-ladspa |
|
|
|
|
--disable-static |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
|
|
|
|
@ -102,8 +103,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ |
|
|
|
|
doc/FluidSynth-LADSPA.pdf $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog NEWS README THANKS TODO \ |
|
|
|
|
$PKG/usr/doc/$NAME |
|
|
|
|
( |
|
|
|
|
cd doc |
|
|
|
|
make html/index.html |
|
|
|
|