2009-07-09 22:34:29 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
|
|
|
version = a.lib.attrByPath ["version"] "1.6.15" a;
|
|
|
|
buildInputs = with a; [
|
|
|
|
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
url = "mirror://sourceforge/statifier/statifier-${version}.tar.gz";
|
2009-07-09 22:34:29 +01:00
|
|
|
sha256 = "0lhdbp7hc15nn6r31yxx7i993a5k8926n5r6j2gi2vvkmf1hciqf";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["fixPaths" "doMakeInstall"];
|
|
|
|
|
|
|
|
fixPaths = a.fullDepEntry (''
|
|
|
|
sed -e s@/usr/@"$out/"@g -i */Makefile src/statifier
|
|
|
|
sed -e s@/bin/bash@"$shell"@g -i src/*.sh
|
|
|
|
'') ["minInit" "doUnpack"];
|
|
|
|
|
|
|
|
name = "statifier-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Tool for creating static Linux binaries";
|
|
|
|
};
|
|
|
|
}
|