mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
13 lines
329 B
Bash
13 lines
329 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
export PATH=$freetype/bin:/bin:/usr/bin
|
||
|
|
||
|
top=`pwd`
|
||
|
tar xvfz $src || exit 1
|
||
|
cd fcpackage*/fontconfig || exit 1
|
||
|
./configure --prefix=$top --with-confdir=$top/etc/fonts --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
|
||
|
make || exit 1
|
||
|
make install || exit 1
|
||
|
cd $top || exit 1
|
||
|
rm -rf fcpackage* || exit 1
|