From 915672f8582aa84dd98dd28c24efeb9741398007 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Sep 2003 10:20:34 +0000 Subject: * Boehm garbage collector. svn path=/nixpkgs/trunk/; revision=391 --- pkgs/boehmgc/boehmgc-build.sh | 10 ++++++++++ pkgs/boehmgc/boehmgc.fix | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 pkgs/boehmgc/boehmgc-build.sh create mode 100644 pkgs/boehmgc/boehmgc.fix diff --git a/pkgs/boehmgc/boehmgc-build.sh b/pkgs/boehmgc/boehmgc-build.sh new file mode 100755 index 000000000000..0cba442c4232 --- /dev/null +++ b/pkgs/boehmgc/boehmgc-build.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd gc* || exit 1 +./configure --prefix=$out --disable-shared || exit 1 +make || exit 1 +make install || exit 1 +strip -S $out/lib/*.a || exit 1 diff --git a/pkgs/boehmgc/boehmgc.fix b/pkgs/boehmgc/boehmgc.fix new file mode 100644 index 000000000000..1dfa8f165d84 --- /dev/null +++ b/pkgs/boehmgc/boehmgc.fix @@ -0,0 +1,12 @@ +Package( + [ ("name", "boehmgc-6.2") + , ("build", Relative("boehmgc/boehmgc-build.sh")) + + , ("src", App(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.2.tar.gz") + , ("md5", "15492b14ca7b9a9e035238611e9cd1e3") + ])) + + , ("stdenv", IncludeFix("stdenv/stdenv.fix")) + ] +) -- cgit 1.4.1