diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-11-25 23:56:05 +0100 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-11-25 23:56:42 +0100 |
commit | 8957dc6daae7423bdda8c12c053e201e7d8ba112 (patch) | |
tree | 3781b4f9cb614b70890f315a935145a2907320ec /system/vhba-module/vhba-module.SlackBuild | |
parent | dd80c822efc215aaca755a90ea44ec9f9a4fba01 (diff) |
system/vhba-module: Updated for version 20100822 and new maintainer
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'system/vhba-module/vhba-module.SlackBuild')
-rw-r--r-- | system/vhba-module/vhba-module.SlackBuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/system/vhba-module/vhba-module.SlackBuild b/system/vhba-module/vhba-module.SlackBuild index 7d8e33450d21..991d64688097 100644 --- a/system/vhba-module/vhba-module.SlackBuild +++ b/system/vhba-module/vhba-module.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for vhba-module -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2010 Niels Horn <niels.horn@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,8 +23,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained as of version 20100822 by Niels Horn <niels.horn@gmail.com> +# Revision date: 2010/11/20 + PRGNAM=vhba-module -SRC_VERSION=1.2.1 +VERSION=${VERSION:-20100822} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +40,7 @@ if [ -z "$ARCH" ]; then fi KERNEL=${KERNEL:-$(uname -r)} -VERSION=${SRC_VERSION}_$(echo $KERNEL | tr - _) +PKGKERNEL=${KERNEL//-/_} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -49,20 +53,21 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$SRC_VERSION -tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.bz2 -cd $PRGNAM-$SRC_VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Bring vhba.c up to date with the svn repo copy -patch -p1 < $CWD/vhba-update_to_svn.diff - -make KERNELRELEASE=$KERNEL +# Use -j1 to avoid problems if larger number of jobs is defined in MAKEFLAGS +make -j1 KERNELRELEASE=$KERNEL mkdir -p $PKG/lib/modules/$KERNEL/extra install -m 0644 vhba.ko $PKG/lib/modules/$KERNEL/extra/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -70,4 +75,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$PKGKERNEL-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |