ham/cwstation: Modified SlackBuild.

Updated to fix build with automake-1.14 on -current.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2015-07-27 17:38:22 +01:00 committed by Willy Sudiarto Raharjo
parent fd5bdaf92a
commit a72c416719
1 changed files with 7 additions and 9 deletions

View File

@ -21,7 +21,6 @@ CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
AUTOMAKE=/usr/share/automake-1.11
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -46,13 +45,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
# Delete links to /usr/share/automake-1.8
rm COPYING
rm INSTALL
rm depcomp
rm install-sh
rm missing
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -60,7 +52,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Create links to /usr/share/automake-1.11
# Replace links to /usr/share/automake-1.8
rm COPYING
rm INSTALL
rm depcomp
rm install-sh
rm missing
AUTOMAKE=/usr/share/automake-1.14
ln -s $AUTOMAKE/COPYING COPYING
ln -s $AUTOMAKE/INSTALL INSTALL
ln -s $AUTOMAKE/depcomp depcomp