From 93f0cf03113f97a2dc0bc07218c6c451ed099025 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 24 Dec 2009 12:26:57 +0100 Subject: [PATCH] xorg-mkfontscale: initial import (verified compilation) --- mkfontscale/.footprint | 6 ++++++ mkfontscale/.md5sum | 1 + mkfontscale/Pkgfile | 29 +++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 mkfontscale/.footprint create mode 100644 mkfontscale/.md5sum create mode 100644 mkfontscale/Pkgfile diff --git a/mkfontscale/.footprint b/mkfontscale/.footprint new file mode 100644 index 0000000..45f9f92 --- /dev/null +++ b/mkfontscale/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mkfontscale +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/mkfontscale.1.gz diff --git a/mkfontscale/.md5sum b/mkfontscale/.md5sum new file mode 100644 index 0000000..5529ac7 --- /dev/null +++ b/mkfontscale/.md5sum @@ -0,0 +1 @@ +96ca346f185c0ab48e42bf5bb0375da5 mkfontscale-1.0.7.tar.bz2 diff --git a/mkfontscale/Pkgfile b/mkfontscale/Pkgfile new file mode 100644 index 0000000..876bd98 --- /dev/null +++ b/mkfontscale/Pkgfile @@ -0,0 +1,29 @@ +# Description: Create an index of scalable X font files +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck tilman at crux dot nu +# Arch Maintainer: CRUX-ARM System Team crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-libx11 xorg-libfontenc freetype + +name=xorg-mkfontscale +version=1.0.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/app/mkfontscale-$version.tar.bz2) + +build() { + cd mkfontscale-$version + + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" + export MKFONTSCALE_LIBS="$DEFAULT_LIBS -lfontenc -lfreetype" + export MKFONTSCALE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2" + export X11_LIBS="$DEFAULT_LIBS -lX11" + export X11_CFLAGS="$DEFAULT_CFLAGS" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man + + make + make DESTDIR=$PKG install +} -- 2.26.2