summaryrefslogtreecommitdiff
path: root/audio/nas/nas.SlackBuild
diff options
context:
space:
mode:
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}