FullDepEntry -> fullDepEntry, PackEntry -> packEntry

svn path=/nixpkgs/trunk/; revision=15662
This commit is contained in:
Marc Weber
2009-05-19 23:25:58 +00:00
parent 1500252e6f
commit 52647ea3b0
102 changed files with 177 additions and 177 deletions
+2 -2
View File
@@ -21,14 +21,14 @@ rec {
libc = if a.stdenv ? glibc then a.stdenv.glibc else "";
doCmake = a.FullDepEntry(''
doCmake = a.fullDepEntry(''
ensureDir $PWD/builddir
cd builddir
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl -L$out/lib"
cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$out -DDL_LIB=${libc}/lib
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
postInstall = a.FullDepEntry(''
postInstall = a.fullDepEntry(''
patchelf --set-rpath $out/lib${if a.stdenv.gcc.gcc != null then ":${a.stdenv.gcc.gcc}/lib" else ""} $out/bin/cuneiform
'') ["minInit" "addInputs" "doMakeInstall"];
+4 -4
View File
@@ -2,7 +2,7 @@ args :
let
lib = args.lib;
fetchurl = args.fetchurl;
FullDepEntry = args.FullDepEntry;
fullDepEntry = args.fullDepEntry;
version = lib.getAttr ["version"] "0.9.3" args;
buildInputs = with args; [
@@ -22,15 +22,15 @@ rec {
phaseNames = ["preConfigure" "doConfigure" "doMake"
"createDirs" "doMakeInstall" "postInstall"];
preConfigure = FullDepEntry ''
preConfigure = fullDepEntry ''
cd src
sed -e /LDCONFIG/d -i libdecodeqr/Makefile.in
'' ["doUnpack"];
postInstall = FullDepEntry ''
postInstall = fullDepEntry ''
cp sample/simple/simpletest $out/bin/qrdecode
cd ..
'' ["doMake"];
createDirs = FullDepEntry ''
createDirs = fullDepEntry ''
ensureDir $out/bin $out/lib $out/include $out/share
'' ["defEnsureDir"];