diff options
author | Michael Wagner <lapinours@web.de> | 2010-05-11 19:45:53 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:45:53 +0200 |
commit | 227edd54d445076ded98c48664d728fa601236af (patch) | |
tree | 60d61c64e819557ba0bb7aef773af62a88d56278 /network | |
parent | e49436de848fc711ef23afd85b0a987ef2418d00 (diff) | |
download | slackbuilds-227edd54d445076ded98c48664d728fa601236af.tar.gz |
network/irda-utils: Updated for version 0.9.18
Diffstat (limited to 'network')
-rw-r--r-- | network/irda-utils/irda-utils.SlackBuild | 10 | ||||
-rw-r--r-- | network/irda-utils/irda-utils.info | 2 |
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" |