system/t1utils: Initial import
This commit is contained in:
parent
fc178e58cc
commit
9b6bfa1d96
|
@ -0,0 +1,14 @@
|
|||
t1utils is a collection of simple type-1 font manipulation programs. Together,
|
||||
they allow you to convert between PFA (ASCII) and PFB (binary) formats,
|
||||
disassemble PFA or PFB files into human-readable form, and reassemble them
|
||||
into PFA or PFB format. Additionally you can extract font resources from
|
||||
a Macintosh font file (ATM/Laserwriter), or create a Macintosh Type 1 font
|
||||
file from a PFA or PFB font.
|
||||
|
||||
* t1ascii: changes PFB (binary) fonts into PFA (ASCII) format
|
||||
* t1binary: goes the opposite direction
|
||||
* t1disasm: translates PFBs or PFAs into a human-readable and -editable format
|
||||
* t1asm: goes the opposite direction
|
||||
* t1unmac: translates a Macintosh Type 1 font into either PFB or PFA format
|
||||
* t1mac: goes the opposite direction
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
t1utils: Type 1 Utilities
|
||||
t1utils:
|
||||
t1utils: t1utils is a collection of simple type-1 font manipulation programs.
|
||||
t1utils: Together, they allow you to convert between PFA (ASCII) and PFB
|
||||
t1utils: (binary) formats, disassemble PFA or PFB files into human-readable
|
||||
t1utils: form, and reassemble them into PFA or PFB format. Additionally you
|
||||
t1utils: can extract font resources from a Macintosh font file
|
||||
t1utils: (ATM/Laserwriter), or create a Macintosh Type 1 font file from a
|
||||
t1utils: PFA or PFB font.
|
||||
t1utils:
|
||||
t1utils:
|
|
@ -0,0 +1,59 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for t1utils
|
||||
# Written by Kyle Guinn
|
||||
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
PRGNAM=t1utils
|
||||
VERSION=1.32
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=`pwd`
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
|| exit 1
|
||||
|
||||
make || exit 1
|
||||
make install-strip DESTDIR=$PKG || exit 1
|
||||
|
||||
if [ -d $PKG/usr/man ]; then
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="t1utils"
|
||||
VERSION="1.32"
|
||||
HOMEPAGE="http://www.lcdf.org/~eddietwo/type/"
|
||||
DOWNLOAD="http://www.lcdf.org/~eddietwo/type/t1utils-1.32.tar.gz"
|
||||
MD5SUM="733892543a5b852b7e5d87bc58117f53"
|
||||
MAINTAINER="Kyle Guinn"
|
||||
EMAIL="elyk03@gmail.com"
|
||||
APPROVED="robw810"
|
Loading…
Reference in New Issue