summaryrefslogtreecommitdiff
path: root/graphics/fontforge/fontforge.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fontforge/fontforge.SlackBuild')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 8d289b59b6..e50c462592 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fontforge
-# Copyright 2006-2011 Robby Workman Northport, Alabama, USA
+# Copyright 2006-2012 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,12 +25,14 @@
# Currently maintained by David Woodfall
PRGNAM=fontforge
-VERSION=20110222
+VERSION=20120731_b
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+TARVERS=$(printf $VERSION | tr _ -)
+
ENABLE_BCINT=${ENABLE_BCINT:-yes}
-FREETYPE=${FREETYPE:-"2.4.4"}
+FREETYPE=${FREETYPE:-"2.4.10"}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -67,11 +69,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION freetype-$FREETYPE
-tar xvf $CWD/${PRGNAM}_full-${VERSION}.tar.bz2
-tar xvf $CWD/freetype-$FREETYPE.tar.bz2
-chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE
-chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE
-cd $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_full-${TARVERS}.tar.bz2
+tar xvf $CWD/freetype-$FREETYPE.tar.xz
+chown -R root:root $PRGNAM-$TARVERS freetype-$FREETYPE
+chmod -R u+w,go+r-w,a-s $PRGNAM-$TARVERS freetype-$FREETYPE
+cd $PRGNAM-$TARVERS
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \