1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/applications/window-managers/wmii/builder.sh
Armijn Hemel 2737cd9a8e add wmii window manager + all dependencies. Interesting excercise...
svn path=/nixpkgs/trunk/; revision=8338
2007-03-18 23:58:22 +00:00

25 lines
282 B
Bash

source $stdenv/setup
postUnpack() {
cd $sourceRoot
cat >> config.mk << EOF
PREFIX=
DESTDIR=${out}
CFLAGS = -DVERSION=\\"\${VERSION}\\"
LDFLAGS = -lm -lX11 -lixp
AWKPATH=${gawk}/bin/gawk
CONFPREFIX = /etc
MANPREFIX = /share/man
EOF
cd ..
}
postUnpack=postUnpack
genericBuild