Browse Source

ap/foo2zjs: Install udev rules to /lib/udev/rules.d.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
8d30e151be
  1. 6
      ap/foo2zjs/foo2zjs.SlackBuild

6
ap/foo2zjs/foo2zjs.SlackBuild

@ -102,9 +102,9 @@ make install DESTDIR=$PKG
# Install udev rules and scripts to automatically load
# the needed firmwares
mkdir -p $PKG/etc/udev/rules.d $PKG/lib/udev
install -m 644 hplj10xx.rules $PKG/etc/udev/rules.d/11-hplj10xx.rules
sed -ri 's|/etc/hotplug/usb/||' $PKG/etc/udev/rules.d/11-hplj10xx.rules
mkdir -p $PKG/lib/udev/rules.d
install -m 644 hplj10xx.rules $PKG/lib/udev/rules.d/11-hplj10xx.rules
sed -ri 's|/etc/hotplug/usb/||' $PKG/lib/udev/rules.d/11-hplj10xx.rules
install -m 755 hplj1000 $PKG/lib/udev
for model in 10{05,18,20} P1{005,006,007,008,505} ; do
ln -sf hplj1000 $PKG/lib/udev/hplj$model

Loading…
Cancel
Save