nixpkgs-suyu/pkgs/misc/sane-backends/builder.sh
Armijn Hemel 4dca405b3d 1.0.17 -> 1.0.18
hotplug -> udev

svn path=/nixpkgs/trunk/; revision=6001
2006-07-31 13:29:02 +00:00

12 lines
230 B
Bash

source $stdenv/setup
postInstall() {
if test "$udevSupport" = "1" ; then
ensureDir $out/etc/udev/rules.d/
cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules
fi
}
postInstall=postInstall
genericBuild