Author: sandervanderburg Date: Wed Jun 15 12:04:31 2011 New Revision: 27469 URL: https://svn.nixos.org/websvn/nix/?rev=27469&sc=1
Log: Fixed the comments tool Modified: nixpkgs/trunk/pkgs/development/tools/misc/ninka/default.nix Modified: nixpkgs/trunk/pkgs/development/tools/misc/ninka/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/development/tools/misc/ninka/default.nix Wed Jun 15 10:35:18 2011 (r27468) +++ nixpkgs/trunk/pkgs/development/tools/misc/ninka/default.nix Wed Jun 15 12:04:31 2011 (r27469) @@ -15,21 +15,23 @@ buildInputs = [ perl ]; + buildPhase = '' + cd comments + tar xfvz comments.tar.gz + cd comments + sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/local/man|$out/share/man|g" Makefile + make + ''; + installPhase = '' + cd ../.. ensureDir $out/bin cp ninka.pl $out/bin cp -av {extComments,splitter,filter,senttok,matcher} $out/bin - cd comments - tar xfvz comments.tar.gz - cd comments - sed -i -e "s|/usr/local/bin|$out/bin|" -e "s|/usr/local/man|$out/share/man|" Makefile + cd comments/comments ensureDir $out/{bin,share/man/man1} - make install - - # Dirty - #patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 $out/bin/comments - #patchelf --set-rpath ${stdenv.glibc}/lib:${stdenv.gcc}/lib $out/bin/comments + make install ''; meta = { _______________________________________________ nix-commits mailing list nix-comm...@cs.uu.nl http://mail.cs.uu.nl/mailman/listinfo/nix-commits