mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
2737cd9a8e
svn path=/nixpkgs/trunk/; revision=8338
24 lines
282 B
Bash
24 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
|