mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
* Fixed flex-new.
svn path=/nixpkgs/trunk/; revision=893
This commit is contained in:
parent
9c711700e4
commit
8e4d58631e
@ -1,11 +0,0 @@
|
||||
export buildinputs="$yacc $m4"
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfj $src
|
||||
cd flex-*
|
||||
./configure --prefix=$out
|
||||
make
|
||||
make install
|
||||
|
||||
mkdir $out/nix-support
|
||||
echo "$m4" > $out/nix-support/propagated-build-inputs
|
@ -1,8 +0,0 @@
|
||||
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
|
@ -1,11 +1,12 @@
|
||||
{stdenv, fetchurl, yacc}:
|
||||
|
||||
assert yacc != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "flex-2.5.4a";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/flex/flex-2.5.4a.tar.gz;
|
||||
md5 = "bd8753d0b22e1f4ec87a553a73021adf";
|
||||
};
|
||||
yacc = yacc;
|
||||
buildInputs = [yacc];
|
||||
}
|
||||
|
@ -3,17 +3,14 @@
|
||||
|
||||
{stdenv, fetchurl, yacc, m4}:
|
||||
|
||||
assert yacc != null;
|
||||
assert yacc != null && m4 != null;
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "flex-2.5.31";
|
||||
system = stdenv.system;
|
||||
builder = ./builder-new.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/lex/flex-2.5.31.tar.bz2;
|
||||
md5 = "363dcc4afc917dc51306eb9d3de0152f";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
yacc = yacc;
|
||||
m4 = m4;
|
||||
buildInputs = [yacc];
|
||||
propagatedBuildInputs = [m4];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user