summaryrefslogtreecommitdiffstats
path: root/system/slim/slim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/slim/slim.SlackBuild')
-rw-r--r--system/slim/slim.SlackBuild31
1 files changed, 7 insertions, 24 deletions
diff --git a/system/slim/slim.SlackBuild b/system/slim/slim.SlackBuild
index d2aa270bf6..95eba88c03 100644
--- a/system/slim/slim.SlackBuild
+++ b/system/slim/slim.SlackBuild
@@ -22,19 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Script maintained by Frank Caraballo <fecaraballo{at}gmail{dot}com>
+# Maintained until v1.3.1 by Frank Caraballo <fecaraballo{at}gmail{dot}com>
+
+# As of v1.3.2 maintained by Niels Horn <niels.horn@gmail.com>
+# revision date: 2010/09/15
PRGNAM=slim
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.3.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -78,29 +79,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
# Correct the path used for suspend:
patch -p0 < $CWD/slim.conf.patch
-# Include stdio.h
-patch -p1 < $CWD/slim-1.3.1-include_stdio_h.patch
-
# Use libpng14
-patch -p1 < $CWD/slim-1.3.1-use_libpng14.patch
+patch -p1 < $CWD/slim-1.3.2-use_libpng14.patch
make \
CFLAGS+="$SLKCFLAGS" \