mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
graphics/fontforge: Updated for version 20141014.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ddf9b1aa31
commit
01d8ce840e
2 changed files with 14 additions and 19 deletions
|
@ -25,12 +25,10 @@
|
|||
# Currently maintained by David Woodfall
|
||||
|
||||
PRGNAM=fontforge
|
||||
VERSION=20120731_b
|
||||
VERSION=${VERSION:-20141014}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
TARVERS=$(printf $VERSION | tr _ -)
|
||||
|
||||
ENABLE_BCINT=${ENABLE_BCINT:-yes}
|
||||
FREETYPE=${FREETYPE:-"2.4.10"}
|
||||
|
||||
|
@ -67,12 +65,13 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION freetype-$FREETYPE
|
||||
tar xvf $CWD/${PRGNAM}_full-${TARVERS}.tar.bz2
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
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
|
||||
chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE
|
||||
chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
./bootstrap
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -80,12 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--with-x \
|
||||
--with-freetype-src=$TMP/freetype-${FREETYPE} \
|
||||
--with-freetype-bytecode=$ENABLE_BCINT \
|
||||
--enable-libff \
|
||||
--enable-pyextension \
|
||||
--enable-type3 \
|
||||
--enable-tilepath \
|
||||
--with-freetype-source=$TMP/freetype-${FREETYPE} \
|
||||
--enable-python-extension \
|
||||
--enable-tile-path \
|
||||
--enable-static=no \
|
||||
--enable-shared=yes \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
@ -103,11 +99,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
|||
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS INSTALL LICENSE README-Unix.html README-unix VERSION \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS INSTALL LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="fontforge"
|
||||
VERSION="20120731_b"
|
||||
VERSION="20141014"
|
||||
HOMEPAGE="http://fontforge.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20120731-b.tar.bz2 \
|
||||
DOWNLOAD="https://github.com/fontforge/fontforge/releases/download/20141014/fontforge-20141014.tar.gz \
|
||||
http://fontforge.sf.net/cidmaps.tgz \
|
||||
http://slackware.osuosl.org/slackware-14.0/source/l/freetype/freetype-2.4.10.tar.xz"
|
||||
MD5SUM="a8a90473a97da87e45f66d11007b6e7c \
|
||||
MD5SUM="2a9c7a8d88868fa6b421ab779e973f6d \
|
||||
063691163e592515b31514515bb3ce8c \
|
||||
b9c2e7fdbe72e788432ddced0e65e0fd"
|
||||
DOWNLOAD_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue