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

14 lines
243 B
Bash
Raw Normal View History

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