* libIDL requires flex, which requires bison, which requires m4...
svn path=/nixpkgs/trunk/; revision=339
This commit is contained in:
parent
a78e923fe7
commit
ce22795c1c
10
pkgs/bison/bison-build.sh
Executable file
10
pkgs/bison/bison-build.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
export PATH=$m4/bin:$PATH
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd bison-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
15
pkgs/bison/bison.fix
Normal file
15
pkgs/bison/bison.fix
Normal file
@ -0,0 +1,15 @@
|
||||
Package(
|
||||
[ ("name", "bison-1.875")
|
||||
|
||||
, ("build", Relative("bison/bison-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/bison/bison-1.875.tar.bz2")
|
||||
, ("md5", "b7f8027b249ebd4dd0cc948943a71af0")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("m4", IncludeFix("gnum4/gnum4.fix"))
|
||||
]
|
||||
)
|
||||
|
10
pkgs/flex/flex-build.sh
Executable file
10
pkgs/flex/flex-build.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /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
|
15
pkgs/flex/flex.fix
Normal file
15
pkgs/flex/flex.fix
Normal file
@ -0,0 +1,15 @@
|
||||
Package(
|
||||
[ ("name", "flex-2.5.4a")
|
||||
|
||||
, ("build", Relative("flex/flex-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/flex/flex-2.5.4a.tar.gz")
|
||||
, ("md5", "bd8753d0b22e1f4ec87a553a73021adf")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("yacc", IncludeFix("bison/bison.fix"))
|
||||
]
|
||||
)
|
||||
|
9
pkgs/gnum4/gnum4-build.sh
Executable file
9
pkgs/gnum4/gnum4-build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd m4-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/gnum4/gnum4.fix
Normal file
13
pkgs/gnum4/gnum4.fix
Normal file
@ -0,0 +1,13 @@
|
||||
Package(
|
||||
[ ("name", "gnum4-1.4")
|
||||
|
||||
, ("build", Relative("gnum4/gnum4-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/m4/m4-1.4.tar.gz")
|
||||
, ("md5", "9eb2dd07740b2d2f3c7adb3e8d299bda")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
]
|
||||
)
|
@ -2,7 +2,7 @@
|
||||
|
||||
envpkgs="$glib"
|
||||
. $stdenv/setup || exit 1
|
||||
export PATH=$pkgconfig/bin:$PATH
|
||||
export PATH=$pkgconfig/bin:$lex/bin:$yacc/bin:$PATH
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd libIDL-* || exit 1
|
||||
|
@ -11,5 +11,7 @@ Package(
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
||||
, ("glib", IncludeFix("glib/glib.fix"))
|
||||
, ("lex", IncludeFix("flex/flex.fix"))
|
||||
, ("yacc", IncludeFix("bison/bison.fix"))
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user