font-cursor-misc: 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:14:25 +01:00
parent ccf99acf63
commit 35f577d692
3 changed files with 34 additions and 4 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 UTIL_DIR="`ls -d $ROOT/$BUILD/font-util*`"
make

View File

@ -0,0 +1,30 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
FONTDIR="$INSTALL/usr/share/fonts/misc"
mkdir -p $FONTDIR
cp $PKG_BUILD/*.pcf.gz $FONTDIR
mkfontdir $FONTDIR

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
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="font-util"
PKG_BUILD_DEPENDS="toolchain util-macros font-util"
PKG_DEPENDS="font-util-host"
PKG_BUILD_DEPENDS="toolchain util-macros font-util-host"
PKG_PRIORITY="optional"
PKG_SECTION="x11/font"
PKG_SHORTDESC="font-cursor-misc: X11 cursor fonts"