summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/irda-utils/irda-utils.SlackBuild10
-rw-r--r--network/irda-utils/irda-utils.info2
2 files changed, 6 insertions, 6 deletions
diff --git a/network/irda-utils/irda-utils.SlackBuild b/network/irda-utils/irda-utils.SlackBuild
index d272bcc25d..8df11c56c5 100644
--- a/network/irda-utils/irda-utils.SlackBuild
+++ b/network/irda-utils/irda-utils.SlackBuild
@@ -42,7 +42,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
@@ -53,13 +53,12 @@ chmod -R u+w,go+r-w,a-s .
patch -p0 < $CWD/Makefile.irnetd.diff || exit 1
# Patch smcinit's Makefile to link libz
-# Otherwise, it fails to build on -current (this still works under with 11.0)
patch -p0 < $CWD/Makefile.smcinit.diff || exit 1
# Now that we have declared $SLKCFLAGS, lets use it
find . -name Makefile | \
while read i; do
- OLDCFLAGS="`grep -m 1 CFLAGS $i`"
+ OLDCFLAGS="$(grep -m 1 CFLAGS $i)"
if [ -n "$OLDCFLAGS" ]; then
sed -i "s#\($OLDCFLAGS\)#\1 $SLKCFLAGS#" $i
fi
@@ -78,11 +77,12 @@ make install ROOT=$PKG MANDIR=$PKG/usr/man || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
find . -name README | \
while read i; do
- install -m 0644 $i $PKG/usr/doc/$PRGNAM-$VERSION/`basename README.$(dirname $i | cut -f2 -d/ -s) .`
+ install -m 0644 $i $PKG/usr/doc/$PRGNAM-$VERSION/$(basename README.$(dirname $i | cut -f2 -d/ -s) .)
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mkdir -p $PKG/etc/rc.d
+# Use a BSD-style init script (emphasise is put on "style" ;) )
+mkdir -p $PKG/etc/rc.d && rm -rf $PKG/etc/rc.d/init.d
cat $CWD/rc.irda.new > $PKG/etc/rc.d/rc.irda.new
mkdir -p $PKG/install
diff --git a/network/irda-utils/irda-utils.info b/network/irda-utils/irda-utils.info
index d625182ad0..f5d5f61d7e 100644
--- a/network/irda-utils/irda-utils.info
+++ b/network/irda-utils/irda-utils.info
@@ -1,7 +1,7 @@
PRGNAM="irda-utils"
VERSION="0.9.18"
HOMEPAGE="http://irda.sourceforge.net"
-DOWNLOAD="http://prdownloads.sourceforge.net/irda/irda-utils-0.9.18.tar.gz"
+DOWNLOAD="http://dl.sourceforge.net/irda/irda-utils-0.9.18.tar.gz"
MD5SUM="84dc12aa4c3f61fccb8d8919bf4079bb"
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"