font-xfree86-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:15:09 +01:00
parent d960690435
commit 937ae03d14
2 changed files with 8 additions and 3 deletions

View File

@ -28,6 +28,6 @@ cd $PKG_BUILD
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-fontdir=$XORG_PATH_FONTS
--with-fontrootdir=/usr/share/fonts
make

View File

@ -22,5 +22,10 @@
. config/options $1
mkdir -p $INSTALL/$XORG_PATH_FONTS
cp $PKG_BUILD/cursor.pfa $INSTALL/$XORG_PATH_FONTS
FONTDIR="$INSTALL/usr/share/fonts/Type1"
mkdir -p $FONTDIR
cp $PKG_BUILD/cursor.pfa $FONTDIR
mkfontdir $FONTDIR
mkfontscale $FONTDIR