CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xmodmap: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-font-misc-misc / Pkgfile
CommitLineData
cd017759
JB
1# Description: xorg font font-misc-misc
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck tilman at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team crux-arm at mikeux dot dyndns dot org
5# Depends on: xorg-font-util xorg-bdftopcf xorg-mkfontdir xorg-mkfontscale
6
7name=xorg-font-misc-misc
8version=1.0.0
9release=2
10source=(http://xorg.freedesktop.org/releases/individual/font/font-misc-misc-$version.tar.bz2)
11
12build() {
13 cd font-misc-misc-$version
14
15 export DEFAULT_LIBS="-L$CLFS/usr/lib"
16 export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
17 export MAPS_LIBS="$DEFAULT_LIBS"
18 export MAPS_CFLAGS="$DEFAULT_CFLAGS"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr
23
24 make BDFTOPCF="bdftopcf" \
25 MKFONTDIR="mkfontdir" \
26 MKFONTSCALE="mkfontscale" \
27 UCS2UTIL="ucs2util" \
28 UTIL_DIR="/usr/lib/X11/fonts/util"
29
30 make DESTDIR=$PKG install
31
32 rm -f $PKG/usr/lib/X11/fonts/misc/fonts.{dir,scale}
33}