diff options
author | Eric Hameleers <alien@slackware.com> | 2007-05-26 11:33:26 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-05-26 11:33:26 +0000 |
commit | f30eedc270c98c74073a056196e888a1bf887b3d (patch) | |
tree | 1fd890137da820a118436b0c60514ea3e0aa4db0 /gspcav1 | |
parent | fc0e4c79c84d2b145ca2a3b14f53480462b9cc1e (diff) | |
download | asb-f30eedc270c98c74073a056196e888a1bf887b3d.tar.gz asb-f30eedc270c98c74073a056196e888a1bf887b3d.tar.xz |
Let's see whether the 20070508 release compiles...
Diffstat (limited to 'gspcav1')
-rwxr-xr-x | gspcav1/build/gspcav1.SlackBuild | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/gspcav1/build/gspcav1.SlackBuild b/gspcav1/build/gspcav1.SlackBuild index 516478ba..3dd7ff7d 100755 --- a/gspcav1/build/gspcav1.SlackBuild +++ b/gspcav1/build/gspcav1.SlackBuild @@ -33,8 +33,8 @@ # * Initial build (driver version 1.00.11). # 20070110-1: 11/Jan/2007 by Eric Hameleers <alien@slackware.com> # * Update to driver version 1.00.12 -# 20070426-1: 27/apr/2007 by Eric Hameleers <alien@slackware.com> -# * Update to driver version 1.00.16 +# 20070508-1: 26/may/2007 by Eric Hameleers <alien@slackware.com> +# * Update to driver version 1.00.18 # # Run 'sh gspcav1.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -46,7 +46,7 @@ # Set initial variables: PRGNAM=gspcav1 -VERSION=${VERSION:-20070426} +VERSION=${VERSION:-20070508} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} @@ -166,10 +166,6 @@ echo "|| $PRGNAM-$VERSION" echo "++" cd $TMP/tmp-$PRGNAM - - -# --- TARBALL EXTRACTION,PATCH,MODIFY --- - echo "Extracting the source archive(s) for $PRGNAM..." if `file ${SOURCE} | grep -q ": bzip2"`; then tar -xjvf ${SOURCE} @@ -186,11 +182,7 @@ chown -R root.root * find . -perm 777 -exec chmod 755 {} \; find . -perm 666 -exec chmod 644 {} \; - -# --- BUILDING --- - echo Building ... - export LDFLAGS="$SLKLDFLAGS" export CFLAGS="$SLKCFLAGS" make KERNELVERSION=${KVER} KERNELDIR=${KSRC} 2>&1 | tee $OUTPUT/make-${PRGNAM}.log @@ -214,30 +206,18 @@ cat <<-EEOOTT >> $PKG/install/doinst.sh EEOOTT - -# --- DOCUMENTATION --- - +# Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/* - -# --- OWNERSHIP, RIGHTS --- - -chmod -R o-w $PKG - - -# --- PACKAGE DESCRIPTION --- - +# Add a package description: mkdir -p $PKG/install cat $SRCDIR/slack-desc > $PKG/install/slack-desc if [ -f $SRCDIR/doinst.sh ]; then cat $SRCDIR/doinst.sh >> $PKG/install/doinst.sh fi - -# --- BUILDING --- - # Build the package: cd $PKG makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}_${KVER}-${ARCH}-${BUILD}.tgz \ @@ -245,9 +225,6 @@ makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}_${KVER}-${ARCH}-${BUI (cd $OUTPUT && md5sum ${PRGNAM}-${VERSION}_${KVER}-${ARCH}-${BUILD}.tgz > ${PRGNAM}-${VERSION}_${KVER}-${ARCH}-${BUILD}.tgz.md5) cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}_${KVER}-${ARCH}-${BUILD}.txt - -# --- CLEANUP --- - # Clean up the extra stuff: if [ "$P1" = "--cleanup" ]; then rm -rf $TMP/tmp-$PRGNAM |