diff options
author | Eric Hameleers <alien@slackware.com> | 2005-10-08 20:11:28 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2005-10-08 20:11:28 +0000 |
commit | 3036a002364ada3e8319dbb6e8fe6207b5fe9700 (patch) | |
tree | 388fae922e1d6428914439bd91660836fd90155b /madwifi/build | |
parent | c4d0656ac1d57c86ed439262b62f4a3b1b91b5e8 (diff) | |
download | asb-3036a002364ada3e8319dbb6e8fe6207b5fe9700.tar.gz asb-3036a002364ada3e8319dbb6e8fe6207b5fe9700.tar.xz |
Added logging.
Diffstat (limited to 'madwifi/build')
-rwxr-xr-x | madwifi/build/madwifi.SlackBuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index dc8190d9..c20fd98a 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -15,9 +15,9 @@ mkdir -p $PKG KERNELARCH=i686 KERNELVERSION=${KERNELVERSION:-`/bin/uname -r`} KERNELSRC="/lib/modules/${KERNELVERSION}/build" -VERSION=20051007 +VERSION=20051008 ARCH=i486 -BUILD=2 +BUILD=1 # --- PACKAGE BUILDING --- @@ -48,12 +48,13 @@ tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz # Madwifi expects the sources at the location that the link # "/lib/modules/<kernelversion>/build" points to.... so be it. cd ${KERNELSRC} -make clean symlinks oldconfig dep +make clean oldconfig dep cd - cd $PRGNAM # The wpa_supplicant/madwifi/dhcp problem patch: -patch -p0 < $CWD/ieee80211_wireless.c.patch +# is now incorporated into the wpa_supplicant CVS! +#patch -p0 < $CWD/ieee80211_wireless.c.patch 2>&1 | tee $CWD/patch-${PRGNAM}.log # Build the kernel modules and the utilities @@ -63,15 +64,20 @@ export COPTS="$COPTS -DSOFTLED" # you'll need to set the ATH_RATE variable before starting make. For instance, # (read the INSTALL file why you could want this) to build ath_rate_amrr, set: # export ATH_RATE=ath_rate/amrr -make clean all KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} -make -C tools +make clean all KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} \ + 2>&1 | tee $CWD/make-${PRGNAM}.log +make -C tools \ + 2>&1 | tee -a $CWD/make-${PRGNAM}.log # Install the kernel module -make install DESTDIR=$PKG KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} +make install DESTDIR=$PKG KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} \ + 2>&1 | tee $CWD/install-${PRGNAM}.log # ... and the utilities mkdir -p $PKG/usr/bin -cd tools ; make install DESTDIR=$PKG BINDIR=/usr/bin ; cd .. +( cd tools + make install DESTDIR=$PKG BINDIR=/usr/bin +) 2>&1 | tee -a $CWD/install-${PRGNAM}.log # Include files (for wpa_supplicant): mkdir -p $PKG/usr/include/madwifi @@ -98,7 +104,8 @@ sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh cd $PKG -makepkg -l y -c n $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz +makepkg -l y -c n $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz \ + 2>&1 | tee $CWD/makepkg-${PRGNAM}.log (cd $TMP && md5sum $PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz > $PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz.md5) cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.txt |