* Merged from the trunk. Let's see how well this works with

Subversion 1.5...

svn path=/nixpkgs/branches/stdenv-updates/; revision=13601
This commit is contained in:
Eelco Dolstra
2008-12-10 09:59:21 +00:00
331 changed files with 14072 additions and 1377 deletions
+27
View File
@@ -0,0 +1,27 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "0.5.2" args;
buildInputs = with args; [
libpng libtiff
];
in
rec {
src = fetchurl {
url = "http://prdownloads.sourceforge.net/libdmtx/libdmtx-${version}.tar.bz2";
sha256 = "1xx61gykmq07m2vkqazns5whj8rv9nhwhjs6dakz9ai4qh7d53qz";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "dmtx-" + version;
meta = {
description = "DataMatrix (2D bar code) processing tools.";
};
}
+41
View File
@@ -0,0 +1,41 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
FullDepEntry = args.FullDepEntry;
version = lib.getAttr ["version"] "0.9.3" args;
buildInputs = with args; [
libpng libcv
];
in
rec {
src = fetchurl {
url = "ftp://ftp.debian.org/debian/pool/main/libd/libdecodeqr/libdecodeqr_${version}.orig.tar.gz";
sha256 = "1kmljwx69h7zq6zlp2j19bbpz11px45z1abw03acrxjyzz5f1f13";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["preConfigure" "doConfigure" "doMake"
"createDirs" "doMakeInstall" "postInstall"];
preConfigure = FullDepEntry ''
cd src
sed -e /LDCONFIG/d -i libdecodeqr/Makefile.in
'' ["doUnpack"];
postInstall = FullDepEntry ''
cp sample/simple/simpletest $out/bin/qrdecode
cd ..
'' ["doMake"];
createDirs = FullDepEntry ''
ensureDir $out/bin $out/lib $out/include $out/share
'' ["defEnsureDir"];
name = "libdecodeqr-" + version;
meta = {
description = "QR code decoder library";
};
}
+27
View File
@@ -0,0 +1,27 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "3.0.3" args;
buildInputs = with args; [
libpng pkgconfig
];
in
rec {
src = fetchurl {
url = "http://megaui.net/fukuchi/works/qrencode/qrencode-${version}.tar.gz";
sha256 = "1f5nnbk016casqfprdli50ssv08l0gj5zrd0q4rdvzfwqy67i7vm";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "qrencode-" + version;
meta = {
description = "QR code encoder";
};
}