3
0
Fork 0
forked from mirrors/nixpkgs

* Fork iputils.

svn path=/nixpkgs/trunk/; revision=3267
This commit is contained in:
Eelco Dolstra 2005-06-30 16:05:14 +00:00
parent cf09d1933d
commit 785fb78cf2
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,10 @@
. $stdenv/setup
installPhase() {
make install
cd $out/bin; ln -s flex lex
cd $out/lib; ln -s libfl.a libl.a
}
installPhase=installPhase
genericBuild

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, yacc}:
assert yacc != null;
stdenv.mkDerivation {
name = "flex-2.5.4a";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/flex-2.5.4a.tar.gz;
md5 = "bd8753d0b22e1f4ec87a553a73021adf";
};
buildInputs = [yacc];
}

View file

@ -0,0 +1,16 @@
# !!! this should be moved to default.nix eventually (but I delay
# doing that since it would cause a rebuild of lots of stuff).
{stdenv, fetchurl, yacc, m4}:
assert yacc != null && m4 != null;
stdenv.mkDerivation {
name = "flex-2.5.31";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/flex-2.5.31.tar.bz2;
md5 = "363dcc4afc917dc51306eb9d3de0152f";
};
buildInputs = [yacc];
propagatedBuildInputs = [m4];
}