nixpkgs-suyu/pkgs/development/libraries/chmlib/builder.sh
Eelco Dolstra b8b44e026c * More redundancy.
svn path=/nixpkgs/trunk/; revision=7502
2006-12-27 18:28:02 +00:00

19 lines
No EOL
283 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
}
genericBuild