diff --git a/packages/x11/font/font-util-host/build b/packages/x11/font/font-util-host/build new file mode 100755 index 0000000000..4e17859b7b --- /dev/null +++ b/packages/x11/font/font-util-host/build @@ -0,0 +1,36 @@ +#!/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 + +$SCRIPTS/unpack font-util + +FONT_UTIL_DIR=`ls -d $BUILD/font-util-[0-9]*` + +setup_toolchain host + +cd $FONT_UTIL_DIR +mkdir -p .objdir-host && cd .objdir-host +../configure --prefix=$ROOT/$TOOLCHAIN + +make +make install diff --git a/packages/x11/font/font-util-host/meta b/packages/x11/font/font-util-host/meta new file mode 100644 index 0000000000..7964f836cf --- /dev/null +++ b/packages/x11/font/font-util-host/meta @@ -0,0 +1,36 @@ +################################################################################ +# 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 +################################################################################ + +PKG_NAME="font-util-host" +PKG_VERSION="" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="OSS" +PKG_SITE="http://www.X.org" +PKG_URL="" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain util-macros" +PKG_PRIORITY="optional" +PKG_SECTION="x11/font" +PKG_SHORTDESC="font-util: X.org font utilities" +PKG_LONGDESC="X.org font utilities." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" diff --git a/packages/x11/font/font-util/build b/packages/x11/font/font-util/build index 5011779c96..5bc8ca59b9 100755 --- a/packages/x11/font/font-util/build +++ b/packages/x11/font/font-util/build @@ -22,19 +22,13 @@ . config/options $1 -setup_toolchain host - cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=$ROOT/$TOOLCHAIN \ - --with-mapdir=$XORG_PATH_MAPS +mkdir -p .objdir-target && cd .objdir-target + +../configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --with-mapdir=/usr/share/fonts/util make -make install-binPROGRAMS - -mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig - cp *.pc $SYSROOT_PREFIX/usr/lib/pkgconfig - -mkdir -p $SYSROOT_PREFIX/usr/share/aclocal - cp *.m4 $SYSROOT_PREFIX/usr/share/aclocal +$MAKEINSTALL diff --git a/packages/x11/font/font-util/install b/packages/x11/font/font-util/install index 59f9c39680..45742e656c 100755 --- a/packages/x11/font/font-util/install +++ b/packages/x11/font/font-util/install @@ -22,5 +22,5 @@ . config/options $1 -mkdir -p $INSTALL/$XORG_PATH_MAPS - cp $PKG_BUILD/map-* $INSTALL/$XORG_PATH_MAPS +mkdir -p $INSTALL/usr/share/fonts/util + cp $PKG_BUILD/map-* $INSTALL/usr/share/fonts/util