nixpkgs/pkgs-ng/development/tools/parsing/flex/builder.sh

11 lines
184 B
Bash
Raw Normal View History

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