Update paths - does not fix all the problems, apparently

svn path=/nixpkgs/trunk/; revision=25714
This commit is contained in:
Michael Raskin 2011-01-28 10:22:30 +00:00
parent 2990b8fb5a
commit c6ee103fc3
2 changed files with 3 additions and 0 deletions

View file

@ -33,12 +33,14 @@ rec {
];
fixMakefile = a.fullDepEntry ''
touch all-test
sed -e "/BASENAME=/iPATH=$out/bin:$PATH" -i *-wrapper *-wrapper.in
'' ["doUnpack" "minInit"];
deployGetWeb = a.fullDepEntry ''
ensureDir "$out/bin"
ensureDir "$out/share"
cp ./getweb "$out/bin"
cp ./arm2hpdl "$out/bin"
cp -r PPD "$out/share/foo2zjs-ppd"
'' ["minInit" "defEnsureDir"];

View file

@ -32,6 +32,7 @@ rec {
sed -e "s@= .*/store/[^/]\+/lib/cups/filter@= $out/lib/cups/filter@" -i Makefile
sed -e "s@= .*/store/[^/]\+/lib/cups/backend@= $out/lib/cups/backend@" -i Makefile
sed -e "s@= /usr/@= $out/@" -i Makefile
sed -e "s@/bin/bash@/bin/sh@g" -i foomaticrip.c
'' ["doConfigure" "minInit"];
meta = {