* Remove references to dontMakeInstall.

svn path=/nixpkgs/trunk/; revision=7500
This commit is contained in:
Eelco Dolstra 2006-12-27 18:24:26 +00:00
parent 7a79d1ff6a
commit bbe62e266b
9 changed files with 21 additions and 68 deletions

View File

@ -1,26 +0,0 @@
source $stdenv/setup
source $makeWrapper
makeFlags="XAWLIB=-lXaw3d BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults LIBDIR=$out/lib/X11 XFIGDOCDIR=$out/share/doc/xfig MANPATH=$out/man"
preBuild=preBuild
preBuild() {
echo "#define XAW3D" >> Imakefile.tmp
echo "#define XAW3D1_5E" >> Imakefile.tmp
cat Imakefile >> Imakefile.tmp
mv Imakefile.tmp Imakefile
xmkmf
}
dontMakeInstall=1
preInstall=preInstall
preInstall() {
make install.all $makeFlags
mv $out/bin/xfig $out/bin/.xfig
makeWrapper $out/bin/.xfig $out/bin/xfig \
--set XAPPLRESDIR $out/etc/X11/app-defaults
}
genericBuild

View File

@ -1,10 +1,9 @@
source $stdenv/setup
dontBuild=1
dontMakeInstall=1
buildPhase=true
postInstall=postInstall
postInstall() {
installCommand=myInstall
myInstall() {
mkdir -p $out/lib/mozilla/plugins
cp -p libflashplayer.so $out/lib/mozilla/plugins
echo "$zlib/lib" > $out/lib/mozilla/plugins/extra-library-path

View File

@ -1,10 +1,9 @@
source $stdenv/setup
dontBuild=1
dontMakeInstall=1
buildPhase=true
postInstall=postInstall
postInstall() {
installCommand=myInstall
myInstall() {
mkdir -p $out/lib/mozilla/plugins
cp -p flashplayer.xpt libflashplayer.so $out/lib/mozilla/plugins
echo "$zlib/lib:$libXmu/lib" > $out/lib/mozilla/plugins/extra-library-path

View File

@ -12,11 +12,9 @@ PKG_CONFIG_PATH=$NIX_BUILD_TOP/pkgconfig:$PKG_CONFIG_PATH
firefoxIncl=$(echo $firefox/include/firefox-*)
export NIX_CFLAGS_COMPILE="-I$firefoxIncl $NIX_CFLAGS_COMPILE"
dontMakeInstall=1
postInstall=postInstall
postInstall() {
mkdir -p $out/lib/mozilla/plugins
installCommand=myInstall
myInstall() {
ensureDir $out/lib/mozilla/plugins
cp -p mplayerplug-in*.so mplayerplug-in*.xpt $out/lib/mozilla/plugins
}

View File

@ -1,8 +1,2 @@
source $stdenv/setup
dontBuild=1
dontMakeInstall=1
nop() {
sourceRoot=.
}
unpackPhase=nop
genericBuild

View File

@ -2,7 +2,9 @@
stdenv.mkDerivation {
name = "xlibs-wrapper";
builder = ./builder.sh;
buildPhase = "true";
installPhase = "true";
unpackPhase = "sourceRoot=.";
propagatedBuildInputs = packages;
} // {
# For compatability with XFree86.

View File

@ -1,10 +1,7 @@
source $stdenv/setup
dontMakeInstall=1
preInstall=preInstall
preInstall() {
ensureDir $out/baseq3
make copyfiles COPYDIR=$out
}
ensureDir $out/baseq3
installTargets=copyfiles
installFlags="COPYDIR=$out"
genericBuild

View File

@ -1,18 +1,13 @@
source $stdenv/setup
phases="installPhase"
dontMakeInstall="yes"
prefix="$out"
preInstall() {
buildPhase=true
installPhase=myInstallPhase
myInstallPhase() {
ensureDir "$out/share/texmf-nix/tex/latex/lazylist"
cp lazylist.sty "$out/share/texmf-nix/tex/latex/lazylist"
}
preInstall=preInstall
genericBuild

View File

@ -1,11 +1,9 @@
source $stdenv/setup
phases="installPhase"
dontMakeInstall="yes"
prefix="$out"
preInstall() {
buildPhase=true
installPhase=myInstallPhase
myInstallPhase() {
ensureDir "$out/share/texmf-nix/tex/latex/polytable"
ensureDir "$out/share/texmf-nix/doc/latex/polytable"
latex polytable.ins
@ -13,9 +11,6 @@ preInstall() {
pdflatex polytable.dtx
cp polytable.sty "$out/share/texmf-nix/tex/latex/polytable"
cp polytable.pdf "$out/share/texmf-nix/doc/latex/polytable"
}
preInstall=preInstall
genericBuild