diff --git a/pkgs/development/libraries/cracklib/builder.sh b/pkgs/development/libraries/cracklib/builder.sh new file mode 100644 index 000000000000..35f682398be7 --- /dev/null +++ b/pkgs/development/libraries/cracklib/builder.sh @@ -0,0 +1,17 @@ +source $stdenv/setup + +preConfigure() { + mkdir cracklib-dicts/ + cp $dicts cracklib-dicts/ +} + +preConfigure=preConfigure + +postInstall() { + ./util/cracklib-format cracklib-dicts/* | ./util/cracklib-packer cracklib_dict + cp cracklib_dict.* $out/lib +} + +postInstall=postInstall + +genericBuild