lirc hotfix, createdb dir added to 00-dirtree
[hdw-linux/hdw-linux.git] / packages / hackbard / lirc / lirc
index 1f362c3..d9b7aad 100644 (file)
@@ -2,19 +2,21 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 0.7.1
-# [S] 3-2
-# [D] lirc-0.7.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/lirc/
+# [V] 0.7.2
+# [S] 3-4
+# [D] lirc-0.7.2.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/lirc/
 
 # specify driver, port, irq
 driver="serial"
 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()  {
-       sed 's%which dialog%type -p dialog%' setup.sh > tmp~
-       mv tmp~ setup.sh
        chmod 750 setup.sh
                }