commit ce8d571ca7a13771493e5aa4afb0fa7cdd316e64
parent 02fbba32287eb2699cb38ec8baad11bee7d94272
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Jun 2014 19:26:28 +0200
add mkfontscale and mkfontdir
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
8 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/xorgmkfontdir/checksums b/xorgmkfontdir/checksums
@@ -0,0 +1 @@
+96d1920565514f90621e18a87fb5a2db9e052d1bffc6552d9659e065a21e252ab98b4e62013755032b98ed6d8c3381eb75c3c8e02651766ee4791ca622dcef1f mkfontdir-1.0.7.tar.bz2
diff --git a/xorgmkfontdir/mkfile b/xorgmkfontdir/mkfile
@@ -0,0 +1,6 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+src = mkfontdir-$v
+url = http://xorg.freedesktop.org/archive/individual/app/mkfontdir-$v.tar.bz2
+mkfile = ../xorgmkfontdir.mk
diff --git a/xorgmkfontdir/v.mk b/xorgmkfontdir/v.mk
@@ -0,0 +1 @@
+v = 1.0.7
diff --git a/xorgmkfontdir/xorgmkfontdir.mk b/xorgmkfontdir/xorgmkfontdir.mk
@@ -0,0 +1,15 @@
+# TODO: don't configure, just copy mkfontdir, it's just a single script file.
+TARG = xorgmkfontdir
+
+<$mkbuild/mk.common-noinst
+
+xorgmkfontdir:QV:
+ CC="$CC" ./configure \
+ --prefix="$prefix" \
+ --mandir="$ROOT/share/man" \
+ --disable-shared \
+ --enable-static
+ make -j$nprocs
+
+install:QV:
+ make -j$nprocs install DESTDIR="$ROOT"
diff --git a/xorgmkfontscale/checksums b/xorgmkfontscale/checksums
@@ -0,0 +1 @@
+7a6da239b2f166c6283090c219889e998be9332ee1e8eb4d84bbdf0cb58125a3773fe7ee97774d86f2cd5385dc49636a797c7b9c25c6c8bbe24b898329f97220 mkfontscale-1.1.1.tar.bz2
diff --git a/xorgmkfontscale/mkfile b/xorgmkfontscale/mkfile
@@ -0,0 +1,6 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+src = mkfontscale-$v
+url = http://xorg.freedesktop.org/archive/individual/app/mkfontscale-$v.tar.bz2
+mkfile = ../xorgmkfontscale.mk
diff --git a/xorgmkfontscale/v.mk b/xorgmkfontscale/v.mk
@@ -0,0 +1 @@
+v = 1.1.1
diff --git a/xorgmkfontscale/xorgmkfontscale.mk b/xorgmkfontscale/xorgmkfontscale.mk
@@ -0,0 +1,21 @@
+TARG = xorgmkfontscale
+DEPS = freetype libpng zlib xorgxproto xorglibfontenc
+
+<$mkbuild/mk.common-noinst
+
+xorgmkfontscale:QV:
+ export CFLAGS="$CFLAGS $DEPS_CFLAGS"
+ export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
+ export MKFONTSCALE_CFLAGS="$CFLAGS"
+ export MKFONTSCALE_LIBS="$LDFLAGS"
+ export X11_CFLAGS="$CFLAGS"
+ export X11_LIBS="$LDFLAGS"
+ CC="$CC" ./configure \
+ --prefix="$prefix" \
+ --mandir="$ROOT/share/man" \
+ --disable-shared \
+ --enable-static
+ make -j$nprocs
+
+install:QV:
+ make -j$nprocs install DESTDIR="$ROOT"