nixpkgs/pkgs/development/libraries/cracklib/builder.sh

18 lines
295 B
Bash
Raw Normal View History

source $stdenv/setup
preConfigure() {
mkdir cracklib-dicts/
cp $dicts cracklib-dicts/
}
preConfigure=preConfigure
postInstall() {
$out/sbin/cracklib-format cracklib-dicts/* | $out/sbin/cracklib-packer cracklib_dict
cp cracklib_dict.* $out/lib
}
postInstall=postInstall
genericBuild