b0VIM 7.2.FJ*\¬pfredtyphon/chroots/slackware64-current/tmp/mesa-compat32/mesa-compat32.SlackBuildutf-8 3210#"! UtpSadwSöõª“‘G  Å‚€0è ™ O ÿ ° d  Ï ¡   Ÿ “ y d M 3 2 1 &  ÿ ó à ß ¿ • ˆ d L < 9 8 0  é ¸ † u t C . % ÝÀkSR4êéà±°` ýæåÓ…GFùËÊÂxwD$ÝÕ´³°¬ž{]>=:6-%íµyb(÷ÑÐÏͼšQ9//sbin/makepkg -l y -c n/sbin/makepkg -l /sbin/mak/sbin/makepkg -l y -c n/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txzcd $PKG/sbin/makepkg -l y -c n $TMP/${PK/sbin/makepkg -l//sbin/makepkg -l y -c n $TMP/${PKGNAM/sbin/makepkg -l y -c n $TMP/sbin/makepkg -l y /sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BU/sbin/makepkg -l y -c /sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUIL/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$/sbin/makepkg -l y -c /sbin/makepk/sbin/makepkg -l y /sbin/m/sbin/ma/sb/s/sbin/makepkg -l y -c n $TMP/$/sbin/makepkg -l y -c n $TMP//sbin/makepkg -l y -/sbin/makepkg/sbin/makepkg/sb/s/sbin/makepkg -l y -c n $TMP/${P/sbin/m/sbin/makepkg -l y -c n $TMP/${PKGN/sbin/makepkg -l y -c n $TMP/${PKG/sbin/makepkg -l y -c n $TMP/${/sbin/makepkg -l y -c n //sbin/makepkg -l y -c n/sbin/makepkg -l y -c n $TMP/${PKGNAM}-compat32-$VERSION-$ARCH-$BUILD.txzcd $PKGcat $CWD/slack-desc > $PKG/install/slack-descmkdir -p $PKG/installrm -rf $PKG/usr/{bin,share,include,info,man,lib/xorg} | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/nullfind $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \# Strip binaries:make install || exit 1# Install:zcat $CWD/mesa.linux-dri-${PLAT}-fake-destdir.diff.gz | patch -p1 --verbose || exit 1# Patch to put into /tmp/package-mesa: (sorry, I know this should use $PKG ;-)make CC="gcc -m32" linux-dri-${PLAT} || exit 1# Build:zcat $CWD/mesa.linux-dri-${PLAT}.diff.gz | patch -p1 --verbose || exit 1# Patch to build into "/usr": -exec chmod 644 {} \; \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 755 {} \; -o \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \find . \chown -R root:root .# Make sure ownerships and permissions are sane:cd Mesa-$VERSIONtar xvf $CWD/MesaDemos-$VERSION.tar.bz2 || exit 1tar xvf $CWD/MesaGLUT-$VERSION.tar.bz2 || exit 1tar xvf $CWD/MesaLib-$VERSION.tar.bz2 || exit 1rm -rf Mesa-${VERSION}cd $TMPfi PLAT="x86-64" SLKCFLAGS="-O2 -fPIC"elif [ "$TARGET" = "x86_64" ]; then PLAT="x86" SLKCFLAGS="-O2 -march=i486 -mtune=i686"if [ "$TARGET" = "i486" ]; thenmkdir -p $TMP $PKGrm -rf $PKGPKG=$TMP/package-mesaTMP=${TMP:-/tmp}CWD=$(pwd)BUILD=${BUILD:-1_slamd64}TARGET=${TARGET:-i486}ARCH=${ARCH:-x86_64}VERSION=${VERSION:-7.0.3}PKGNAM=mesa# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED## notice, this list of conditions and the following disclaimer.# 1. Redistributions of this script must retain the above copyright## permitted provided that the following conditions are met:# Redistribution and use of this script, with or without modification, is## All rights reserved.# Copyright 2006, 2007, 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA#!/bin/sh