db8288bf5b
references to perl, nix, and so on in the scripts. TODO: statically link the bzip2/bunzip2/etc. tools in $nix/libexec svn path=/nixpkgs/trunk/; revision=6018
26 lines
514 B
Bash
26 lines
514 B
Bash
source $stdenv/setup
|
|
|
|
configureFlags="\
|
|
--with-store-dir=$storeDir --localstatedir=$stateDir \
|
|
--with-aterm=$aterm --with-bdb=$bdb \
|
|
--disable-init-state"
|
|
|
|
preConfigure() {
|
|
autoreconf
|
|
}
|
|
|
|
preConfigure=preConfigure
|
|
|
|
postInstall() {
|
|
cd $out/bin
|
|
|
|
find . -type f | while read fn; do
|
|
cat $fn | sed "s|/nix/store/[a-z0-9]*-glibc|/nix/store/ffffffffffffffffffffffffffffffff-glibc|g" > $fn.tmp
|
|
if test -x $fn; then chmod +x $fn.tmp; fi
|
|
mv $fn.tmp $fn
|
|
done
|
|
}
|
|
|
|
postInstall=postInstall
|
|
|
|
genericBuild
|