CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-mkfontscale: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 24 Dec 2009 11:26:57 +0000 (12:26 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 24 Dec 2009 11:26:57 +0000 (12:26 +0100)
mkfontscale/.footprint [new file with mode: 0644]
mkfontscale/.md5sum [new file with mode: 0644]
mkfontscale/Pkgfile [new file with mode: 0644]

diff --git a/mkfontscale/.footprint b/mkfontscale/.footprint
new file mode 100644 (file)
index 0000000..45f9f92
--- /dev/null
@@ -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 (file)
index 0000000..5529ac7
--- /dev/null
@@ -0,0 +1 @@
+96ca346f185c0ab48e42bf5bb0375da5  mkfontscale-1.0.7.tar.bz2
diff --git a/mkfontscale/Pkgfile b/mkfontscale/Pkgfile
new file mode 100644 (file)
index 0000000..876bd98
--- /dev/null
@@ -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
+}