From 11b6d0629af43cc75c80ee7a8b994037ffad1029 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 19 Aug 2003 15:05:02 +0000 Subject: [PATCH] * I can't believe that anybody is still using `ed', but there you have it... svn path=/nixpkgs/trunk/; revision=327 --- pkgs/ed/ed-build.sh | 9 +++++++++ pkgs/ed/ed.fix | 13 +++++++++++++ pkgs/fontconfig/fontconfig-build.sh | 1 + pkgs/fontconfig/fontconfig.fix | 1 + 4 files changed, 24 insertions(+) create mode 100755 pkgs/ed/ed-build.sh create mode 100644 pkgs/ed/ed.fix diff --git a/pkgs/ed/ed-build.sh b/pkgs/ed/ed-build.sh new file mode 100755 index 000000000000..ba63de01c950 --- /dev/null +++ b/pkgs/ed/ed-build.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd ed-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs/ed/ed.fix b/pkgs/ed/ed.fix new file mode 100644 index 000000000000..04d9f72c0c57 --- /dev/null +++ b/pkgs/ed/ed.fix @@ -0,0 +1,13 @@ +Package( + [ ("name", "ed-0.2") + + , ("build", Relative("ed/ed-build.sh")) + + , ("src", Call(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "ftp://ftp.gnu.org/pub/gnu/ed/ed-0.2.tar.gz") + , ("md5", "ddd57463774cae9b50e70cd51221281b") + ])) + + , ("stdenv", IncludeFix("stdenv/stdenv.fix")) + ] +) diff --git a/pkgs/fontconfig/fontconfig-build.sh b/pkgs/fontconfig/fontconfig-build.sh index ec313d835e1e..551197ad2502 100755 --- a/pkgs/fontconfig/fontconfig-build.sh +++ b/pkgs/fontconfig/fontconfig-build.sh @@ -2,6 +2,7 @@ envpkgs="$freetype $expat" . $stdenv/setup || exit 1 +export PATH=$ed/bin:$PATH tar xvfz $src || exit 1 cd fcpackage*/fontconfig || exit 1 diff --git a/pkgs/fontconfig/fontconfig.fix b/pkgs/fontconfig/fontconfig.fix index e02537c35116..7c97332da3a0 100644 --- a/pkgs/fontconfig/fontconfig.fix +++ b/pkgs/fontconfig/fontconfig.fix @@ -11,5 +11,6 @@ Package( , ("stdenv", IncludeFix("stdenv/stdenv.fix")) , ("freetype", IncludeFix("freetype/freetype.fix")) , ("expat", IncludeFix("expat/expat.fix")) + , ("ed", IncludeFix("ed/ed.fix")) ] )