mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
7689a348c4
builders. These are redundant now. * Inlined some trivial builders. * Removed a few explicit setup-hook creations. This is done automatically now if setupHook is set. * Deleted the initscripts package. NixOS doesn't use it anymore. svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
20 lines
502 B
Bash
20 lines
502 B
Bash
source $stdenv/setup
|
|
|
|
makeFlags="XAWLIB=-lXaw3d BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults LIBDIR=$out/lib/X11 XFIGDOCDIR=$out/share/doc/xfig MANPATH=$out/man"
|
|
|
|
preBuild() {
|
|
echo "#define XAW3D" >> Imakefile.tmp
|
|
echo "#define XAW3D1_5E" >> Imakefile.tmp
|
|
cat Imakefile >> Imakefile.tmp
|
|
mv Imakefile.tmp Imakefile
|
|
xmkmf
|
|
}
|
|
|
|
installPhase() {
|
|
make install.all $makeFlags
|
|
|
|
wrapProgram $out/bin/xfig \
|
|
--set XAPPLRESDIR $out/etc/X11/app-defaults
|
|
}
|
|
|
|
genericBuild
|