summaryrefslogtreecommitdiff
path: root/source/l/libsamplerate
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libsamplerate')
-rwxr-xr-xsource/l/libsamplerate/libsamplerate.SlackBuild5
-rw-r--r--source/l/libsamplerate/libsamplerate.url1
2 files changed, 4 insertions, 2 deletions
diff --git a/source/l/libsamplerate/libsamplerate.SlackBuild b/source/l/libsamplerate/libsamplerate.SlackBuild
index c3ecd496..99c5f9ee 100755
--- a/source/l/libsamplerate/libsamplerate.SlackBuild
+++ b/source/l/libsamplerate/libsamplerate.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libsamplerate
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
+ --docdir=/usr/doc/$PKGNAM-$VERSION \
--htmldir=/usr/doc/$PKGNAM-$VERSION/html \
--disable-static \
--localstatedir=/var \
@@ -96,7 +97,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a AUTHORS COPYING* NEWS README* $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a AUTHORS* COPYING* NEWS* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/l/libsamplerate/libsamplerate.url b/source/l/libsamplerate/libsamplerate.url
new file mode 100644
index 00000000..92ea265f
--- /dev/null
+++ b/source/l/libsamplerate/libsamplerate.url
@@ -0,0 +1 @@
+https://github.com/libsndfile/libsamplerate