# I don't seem to have a /lib/hotplug or /usr/lib/hotplug or
# /usr/local/lib/hotplug directory, so I just went with /lib/hotplug/kino
# below because other distributions use it and I do have a /lib/firmware
# (for hotplug to use).
cd
test -f installed/kino-0.7.6.tar.gz &&
mv installed/kino-0.7.6.tar.gz .
test ! -f kino-0.7.6.tar.gz &&
wget http://download.sf.net/kino/kino-0.7.6.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "kino-*" -exec rm -r {} \;
tar xzvf ~/kino-0.7.6.tar.gz
cd kino-0.7.6
test $UID = 0 && chown -R root:root .
./configure \
--with-hotplug-script-dir=/etc/hotplug/usb \
--with-hotplug-usermap-dir=/lib/hotplug/kino
make
# Become root to install it
su
make install
find /usr/local/share/locale -type f -name "kino.mo" -exec rm {} \;