mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 23:24:35 +00:00
9878a15478
The problem of transitive imports needs to be adressed, though, as evidenced by, e.g., the descriptor for pan. That is, if C depends on library B, and B depends on library A, then C also depends on library A. However, this breaks modularity: C should not have to declare a dependency on A explicitly. The solution is to have B re-export A, e.g., by creating symlinks from B to the files in A. svn path=/nixpkgs/trunk/; revision=68
13 lines
308 B
Bash
Executable file
13 lines
308 B
Bash
Executable file
#! /bin/sh
|
|
|
|
export PATH=$freetype/bin:$fontconfig/bin:/bin:/usr/bin
|
|
|
|
top=`pwd`
|
|
tar xvfz $src || exit 1
|
|
cd fcpackage*/Xft || exit 1
|
|
./configure --prefix=$top --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
|