nixpkgs/pkgs/development/tools/parsing/flex/builder-new.sh
Eelco Dolstra 3f6bf521fc * Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
2004-01-30 17:23:34 +00:00

13 lines
241 B
Bash
Executable File

#! /bin/sh
export buildinputs="$yacc $m4"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd flex-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
echo "$m4" > $out/propagated-build-inputs || exit 1