nixpkgs/pkgs/development/libraries/cracklib/builder.sh
Eelco Dolstra bd124ec21a * Various PAM updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14109
2009-02-18 11:40:32 +00:00

18 lines
295 B
Bash

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