plan9port: fix destination path in sources; add myself as a maintainer
This commit is contained in:
parent
3938dc3c21
commit
2c8ff5fdb7
|
@ -1,4 +1,3 @@
|
||||||
set -e
|
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
tar xvfz $src
|
tar xvfz $src
|
||||||
|
@ -13,8 +12,12 @@ for p in $patches; do
|
||||||
patch -p1 < $p
|
patch -p1 < $p
|
||||||
done
|
done
|
||||||
|
|
||||||
./INSTALL -r $out/plan9
|
|
||||||
|
|
||||||
export PLAN9=$out/plan9
|
export PLAN9=$out/plan9
|
||||||
mkdir -p $PLAN9
|
mkdir -p $PLAN9
|
||||||
|
|
||||||
|
for f in `grep -l -r /usr/local/plan9`; do
|
||||||
|
sed "s,/usr/local/plan9,${PLAN9},g" -i $f
|
||||||
|
done
|
||||||
|
|
||||||
|
./INSTALL -r $PLAN9
|
||||||
cp -R * $PLAN9
|
cp -R * $PLAN9
|
||||||
|
|
|
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "http://swtch.com/plan9port/";
|
homepage = "http://swtch.com/plan9port/";
|
||||||
description = "Plan 9 from User Space";
|
description = "Plan 9 from User Space";
|
||||||
license = licenses.lpl-102;
|
license = licenses.lpl-102;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue