nixpkgs/pkgs/development/libraries/chmlib/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

21 lines
308 B
Bash

source $stdenv/setup
unpackCmd="tar xvfj $src"
makeFlags="-f Makefile.simple CC=gcc LD=gcc INSTALLPREFIX=$out"
postConfigure=postConfigure
postConfigure() {
cd src
}
preInstall=preInstall
preInstall() {
mkdir $out
mkdir $out/lib
mkdir $out/include
}
installFlags=$makeFlags
genericBuild