nixpkgs/pkgs/autoxt/autoxt-build.sh
Eelco Visser 6c8937cbca separate strategoxt packages
svn path=/nixpkgs/trunk/; revision=286
2003-08-14 12:26:13 +00:00

21 lines
266 B
Bash
Executable file

#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
echo "out: $out"
echo "pwd: `pwd`"
echo "src: $src"
ls $src
cp -r $src autoxt
ls
cd autoxt || exit 1
./bootstrap || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1