summaryrefslogtreecommitdiff
path: root/audio/nas/nas.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2013-02-10 10:25:51 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-02-10 10:25:51 -0500
commit58f15a4eab5f0f40c94092be086f1711ffa59f63 (patch)
tree177805f586dbf8e7b6d8094cbefa97a7cd769893 /audio/nas/nas.SlackBuild
parent65dc4c31b379c50a3b4036bd4c67ef9c0394361f (diff)
downloadslackbuilds-58f15a4eab5f0f40c94092be086f1711ffa59f63.tar.gz
audio/nas: Minor fixes, added rc.* file.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/nas/nas.SlackBuild')
-rw-r--r--audio/nas/nas.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/audio/nas/nas.SlackBuild b/audio/nas/nas.SlackBuild
index b82787d9b9..89e7fbb89a 100644
--- a/audio/nas/nas.SlackBuild
+++ b/audio/nas/nas.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=nas
VERSION=${VERSION:-1.9.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,23 +70,25 @@ find . \
xmkmf
make World
-make install.man install DESTDIR=$PKG
+make install.man install DESTDIR=$PKG
find $PKG | xargs 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
+
+install -D -m0755 $CWD/rc.nasd.new $PKG/etc/rc.d/rc.nasd.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README.CYGWIN README TODO doc/html doc/*.ps \
$PKG/usr/doc/$PRGNAM-$VERSION
-
-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
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}