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")) + ] +)