|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2009,2011,2012,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2009,2011,2012,2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -32,7 +32,7 @@ WGET=${WGET:-https://github.com/swh/LRDF/archive/v$VERSION.tar.gz} |
|
|
|
|
|
|
|
# Build infos |
|
|
|
NAMEPKG=${NAMEPKG:-liblrdf} |
|
|
|
BUILD=${BUILD:-1GGD} |
|
|
|
BUILD=${BUILD:-2GGD} |
|
|
|
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')} |
|
|
|
JOBS=${JOBS:-1} |
|
|
|
EXT=${EXT:-txz} |
|
|
@ -94,6 +94,9 @@ make -j $JOBS |
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
install -m 644 $TMP/$NAME/src/ladspa.h $PKG/usr/include |
|
|
|
|
|
|
|
# Don't ship .la files |
|
|
|
rm -f $PKG/{,usr}/lib$LIBDIRSUFFIX/*.la |
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
install -m 644 AUTHORS COPYING ChangeLog README $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|