# author: hackbard@hackdaworld.dyndns.org
#
# [V] 0.7.1
-# [S] 3-2
+# [S] 3-4
# [D] lirc-0.7.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/lirc/
# specify driver, port, irq
port="0x3f8"
irq="4"
+kver=`grep '^#\ \[V\]' $confdir/../../base/linux/linux | awk '{ print $3 }'`
+
+confopt="$confopt --with-kerneldir=$prefix/src/linux"
+confopt="$confopt --with-moduledir=$root/lib/modules/$kver/misc"
confopt="$confopt --with-driver=$driver --with-port=$port --with-irq=$irq"
pre_install() {