diff options
author | JK Wood <joshuakwood@gmail.com> | 2014-07-14 07:06:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-16 18:26:46 +0700 |
commit | 14546d2b0197544c7b0e6d57e93fa40f25f7147a (patch) | |
tree | 78a787a2886f9cb5f28af154e2519fbb65385857 /ham/fldigi/fldigi.SlackBuild | |
parent | 60c9e6aa4f0bec5dfe8f5f8da82b335494a440f5 (diff) | |
download | slackbuilds-14546d2b0197544c7b0e6d57e93fa40f25f7147a.tar.gz |
ham/fldigi: Updated for version 3.21.83.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/fldigi/fldigi.SlackBuild')
-rw-r--r-- | ham/fldigi/fldigi.SlackBuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/ham/fldigi/fldigi.SlackBuild b/ham/fldigi/fldigi.SlackBuild index 102747f84f..2bd86afe03 100644 --- a/ham/fldigi/fldigi.SlackBuild +++ b/ham/fldigi/fldigi.SlackBuild @@ -16,16 +16,20 @@ # wrong and prevent it from happening in the future. # In which case, I may just send YOU five dollars. +# Oh, and feel free to copy it and modify it as you +# see fit. Or as I see fit. Or as I fit. Although +# that is unlikely, as I am rather tall. + PRGNAM=fldigi -VERSION=${VERSION:-3.21.49} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.21.83} +BUILD=${BUILD:-1} TAG=${TAG:_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + *) ARCH=$( uname -m ) ;; esac fi @@ -58,13 +62,15 @@ tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +# Fix for FLTK-13 package +FLTK_CONFIG=$( which fltk13-config ) \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -77,15 +83,14 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* INSTALL NEWS README* doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -name "Makefile" -exec rm {} \; find $PKG/usr/doc -type f -exec chmod 644 {} \; |