summaryrefslogtreecommitdiff
path: root/graphics/fontforge/fontforge.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-08-07 01:23:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:32 +0700
commitc6ea0ca0ee86042bf89e3ef41acbdb3dbc643678 (patch)
treef94881e4436fcfa2385e839929e48dcbbf3bfe8f /graphics/fontforge/fontforge.SlackBuild
parentf253c592d7027d3f95e22dba16827987591ce26d (diff)
downloadslackbuilds-c6ea0ca0ee86042bf89e3ef41acbdb3dbc643678.tar.gz
graphics/fontforge: Updated for version 20170731.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/fontforge/fontforge.SlackBuild')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild18
1 files changed, 14 insertions, 4 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 7e4df26c90..c098553cd2 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -25,16 +25,18 @@
# Currently maintained by David Woodfall <dave@dawoodfall.net>
PRGNAM=fontforge
-VERSION=${VERSION:-20150824}
+VERSION=${VERSION:-20170731}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ENABLE_BCINT=${ENABLE_BCINT:-yes}
FREETYPE=${FREETYPE:-"2.6.3"}
+GNULIB=${GNULIB:-"20140202"}
+UTHASH=${UTHASH:-"1.9.9"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,6 +72,14 @@ tar xvf $CWD/freetype-$FREETYPE.tar.xz
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/gnulib_$GNULIB+stable.orig.tar.gz
+tar xvf $CWD/uthash-$UTHASH.tar.gz
+mv gnulib-${GNULIB}-stable gnulib
+mv uthash-$UTHASH uthash
+chown -R root:root gnulib uthash
+chmod -R u+w,go+r-w,a-s gnulib uthash
+
+./bootstrap
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \