summaryrefslogtreecommitdiffstats
path: root/soundtouch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-04-12 22:09:50 +0000
committer Eric Hameleers <alien@slackware.com>2010-04-12 22:09:50 +0000
commita9ecad33211b87e01aa1723c4bcdec27d69f3f78 (patch)
tree589d7268f03c55f9a538f80083235859e7fc1df6 /soundtouch
parent21780dce48150f99cc0f5ee614cd64ed2e943f95 (diff)
downloadasb-a9ecad33211b87e01aa1723c4bcdec27d69f3f78.tar.gz
asb-a9ecad33211b87e01aa1723c4bcdec27d69f3f78.tar.xz
This one is final for 1.5.0
Diffstat (limited to 'soundtouch')
-rwxr-xr-xsoundtouch/build/soundtouch.SlackBuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/soundtouch/build/soundtouch.SlackBuild b/soundtouch/build/soundtouch.SlackBuild
index 1790e70e..4d48afd1 100755
--- a/soundtouch/build/soundtouch.SlackBuild
+++ b/soundtouch/build/soundtouch.SlackBuild
@@ -148,9 +148,14 @@ cd ${PRGNAM}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-## set correct version for .so build
-#LTVERSION=$(echo ${VERSION} | tr '.' ':')
-#sed -i -e "s/-rpath \$(libdir)/-rpath \$(libdir) -version-number ${LTVERSION}/" source/SoundTouch/Makefile.in
+# More breakage to follow:
+ln -sf /usr/share/libtool/ltmain.sh config/ltmain.sh
+rm -f config/m4/lt*
+autoreconf -vif
+
+# Set correct version for .so build
+LTVERSION=$(echo ${VERSION} | tr '.' ':')
+sed -i -e "s/-rpath \$(libdir)/-rpath \$(libdir) -version-number ${LTVERSION}/" source/SoundTouch/Makefile.in
# Patch Makefiles to force use of SLKCFLAGS
if [ "$ARCH" == "i486" ]; then
@@ -159,10 +164,6 @@ else
sed -i -e 's/-O3 -msse/$(CFLAGS)/' source/SoundTouch/Makefile.*
fi
-# More breakage:
-ln -sf /usr/share/libtool/ltmain.sh config/ltmain.sh
-rm -f config/m4/lt*
-
echo Building ...
export LDFLAGS="$SLKLDFLAGS"
export CFLAGS="$SLKCFLAGS"
@@ -173,6 +174,7 @@ export AUTOMAKE="automake --add-missing --foreign"
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static \
--enable-shared \
--program-prefix= \
@@ -183,14 +185,11 @@ export AUTOMAKE="automake --add-missing --foreign"
make ${NUMJOBS} 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
-# Install all the needed stuff to the package dir
-# Use installwatch if available, to produce a logfile of the installation
-# process that is more easily readable:
-if $(which installwatch > /dev/null 2>&1); then
- installwatch -o $OUTPUT/install-${PRGNAM}.log make DESTDIR=$PKG install
-else
- make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
-fi
+# Install all the needed stuff to the package dir:
+make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
+
+# This does not hurt - there is API compatibility with the older release:
+ln -s soundtouch-1.4.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/soundtouch-1.0.pc
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION