3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/octave/builder.sh
Rob Vermaas c389786b15 * octave uses readline
svn path=/nixpkgs/trunk/; revision=1232
2004-08-05 15:30:06 +00:00

18 lines
323 B
Bash

set -x
. $stdenv/setup
g77orig=$(cat $g77/nix-support/orig-gcc)
export NIX_LDFLAGS="-rpath $g77orig/lib $NIX_LDFLAGS"
export NIX_STRIP_DEBUG=
export NIX_CFLAGS_COMPILE="-g $NIX_CFLAGS_COMPILE"
tar xvfz $src
cd octave-*
./autogen.sh
./configure --prefix=$out --enable-readline
make
make install
#strip -S $out/lib/*/*.a