encodings: enable gzip compression, 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:12:19 +01:00
parent 6c217678f6
commit 4d1623495f
3 changed files with 14 additions and 9 deletions

View File

@ -28,7 +28,8 @@ cd $PKG_BUILD
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-gzip-small-encodings \
--disable-gzip-large-encodings \
--with-encodingsdir=$XORG_PATH_ENCODINGS
$MAKE
--enable-gzip-small-encodings \
--enable-gzip-large-encodings \
--with-fontrootdir=/usr/share/fonts
make

View File

@ -22,8 +22,12 @@
. config/options $1
mkdir -p $INSTALL/$XORG_PATH_ENCODINGS
cp $PKG_BUILD/*.enc $INSTALL/$XORG_PATH_ENCODINGS
FONTDIR="$INSTALL/usr/share/fonts"
mkdir -p $INSTALL/$XORG_PATH_ENCODINGS/large
cp $PKG_BUILD/large/*.enc $INSTALL/$XORG_PATH_ENCODINGS/large
mkdir -p $FONTDIR/encodings
cp $PKG_BUILD/*.enc.gz $FONTDIR/encodings
cp $PKG_BUILD/encodings.dir $FONTDIR/encodings
mkdir -p $FONTDIR/encodings/large
cp $PKG_BUILD/large/*.enc.gz $FONTDIR/encodings/large
cp $PKG_BUILD/large/encodings.dir $FONTDIR/encodings/large

View File

@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL="http://xorg.freedesktop.org/archive/individual/font/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain util-macros"
PKG_BUILD_DEPENDS="toolchain util-macros font-util-host"
PKG_PRIORITY="optional"
PKG_SECTION="x11/font"
PKG_SHORTDESC="encodings: X font encodings"