nixpkgs-suyu/pkgs/flex/flex-build.sh
Eelco Dolstra ce22795c1c * libIDL requires flex, which requires bison, which requires m4...
svn path=/nixpkgs/trunk/; revision=339
2003-08-22 13:39:36 +00:00

10 lines
185 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$yacc/bin:$PATH
tar xvfz $src || exit 1
cd flex-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1