font-bitstream-type1: using 'fontrootdir=/usr/share/fonts', rework of build and install scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-02-04 14:13:16 +01:00
parent 4d1623495f
commit ccf99acf63
2 changed files with 9 additions and 9 deletions

View File

@ -28,12 +28,6 @@ cd $PKG_BUILD
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-fontdir=$XORG_PATH_FONTS
--with-fontrootdir=/usr/share/fonts
make
mkdir -p fonts
cp *.afm *.pfb fonts
cd fonts
mkfontdir

View File

@ -22,5 +22,11 @@
. config/options $1
mkdir -p $INSTALL/$XORG_PATH_FONTS/Type1
cp $PKG_BUILD/fonts/* $INSTALL/$XORG_PATH_FONTS/Type1
FONTDIR="$INSTALL/usr/share/fonts/Type1"
mkdir -p $FONTDIR
cp $PKG_BUILD/*.afm $FONTDIR
cp $PKG_BUILD/*.pfb $FONTDIR
mkfontdir $FONTDIR
mkfontscale $FONTDIR