diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-05 15:45:52 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-07 10:33:23 +0700 |
commit | 3bf27b72c31c61a68c974c6f455909dbc3e00f30 (patch) | |
tree | 08468c74814c01bde4a74b3545e5f4b899625621 /audio/zita-ajbridge/zita-ajbridge.SlackBuild | |
parent | 552fad9c44172c348117cc46f01949e7dc556ddb (diff) | |
download | slackbuilds-3bf27b72c31c61a68c974c6f455909dbc3e00f30.tar.gz |
audio/zita-ajbridge: Updated for version 0.6.0.
Diffstat (limited to 'audio/zita-ajbridge/zita-ajbridge.SlackBuild')
-rw-r--r-- | audio/zita-ajbridge/zita-ajbridge.SlackBuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/audio/zita-ajbridge/zita-ajbridge.SlackBuild b/audio/zita-ajbridge/zita-ajbridge.SlackBuild index ae5c058b8f..e11398f6ed 100644 --- a/audio/zita-ajbridge/zita-ajbridge.SlackBuild +++ b/audio/zita-ajbridge/zita-ajbridge.SlackBuild @@ -6,8 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20151105 bkw: updated for v0.6.0, which now has man pages, so +# got rid of the ones I wrote. + PRGNAM=zita-ajbridge -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,20 +56,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Makefile in 0.6.0 doesn't create these: +mkdir -p $PKG/usr/bin $PKG/usr/man/man1 + sed -i "s,-O2,$SLKCFLAGS," source/Makefile -make -C source PREFIX=/usr DESTDIR=$PKG all install +make -C source PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG all install strip $PKG/usr/bin/* +# use symlinks instead of groff "so" mess +for i in a2j j2a; do + rm -f $PKG/usr/man/man1/zita-$i.1.gz + ln -s $PRGNAM.1.gz $PKG/usr/man/man1/zita-$i.1.gz +done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# man page written for this SlackBuild (from the -h text and README) -mkdir -p $PKG/usr/man/man1 -gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz -ln -s $PRGNAM.1.gz $PKG/usr/man/man1/zita-j2a.1.gz -ln -s $PRGNAM.1.gz $PKG/usr/man/man1/zita-a2j.1.gz - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |