| 1 | # Description: BDF to PCF font file converter |
| 2 | # URL: http://xorg.freedesktop.org |
| 3 | # Maintainer: Tilman Sauerbeck tilman at crux dot nu |
| 4 | # Arch Maintainer System Team devel at crux-arm dot nu |
| 5 | # Depends on: xorg-libxfont |
| 6 | |
| 7 | name=xorg-bdftopcf |
| 8 | version=1.0.2 |
| 9 | release=1 |
| 10 | source=(http://xorg.freedesktop.org/releases/individual/app/bdftopcf-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd bdftopcf-$version |
| 14 | |
| 15 | export BDFTOPCF_LIBS="-L$CLFS/usr/lib -lXfont -lz -lm" |
| 16 | export BDFTOPCF_CFLAGS="-I$CLFS/usr/include" |
| 17 | |
| 18 | ./configure --build=$CHOST \ |
| 19 | --host=$CTARGET \ |
| 20 | --prefix=/usr \ |
| 21 | --mandir=/usr/man |
| 22 | |
| 23 | make |
| 24 | make DESTDIR=$PKG install |
| 25 | } |