|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009,2011,2012 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009,2011,2012,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -26,9 +26,9 @@
|
|
|
|
|
# <https://github.com/swh/LRDF>. |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
VERSION=${VERSION:-0.5.0} |
|
|
|
|
VERSION=${VERSION:-0.6.1} |
|
|
|
|
ARCHIVE=${ARCHIVE:-liblrdf-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-https://github.com/swh/LRDF/tarball/$VERSION} |
|
|
|
|
WGET=${WGET:-https://github.com/swh/LRDF/archive/v$VERSION.tar.gz} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-liblrdf} |
|
|
|
@ -75,7 +75,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Compile |
|
|
|
@ -96,7 +96,7 @@ install -m 644 $TMP/$NAME/src/ladspa.h $PKG/usr/include
|
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog README $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
|
|
|
|
|
# Copy slack-desc file |
|
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
|