diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2008-05-15 08:58:02 -0430 |
---|---|---|
committer | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2008-05-15 08:58:02 -0430 |
commit | 2cd82fdf97b096d2bca24b64e1c1cffc7f861e91 (patch) | |
tree | d1ddbf906609e1ddd13238270d0d6adc4cf11bc3 | |
parent | 2eb4a3d98e18a9fd026f5534b1541a3f2f32a29b (diff) | |
download | contrib-2cd82fdf97b096d2bca24b64e1c1cffc7f861e91.tar.gz contrib-2cd82fdf97b096d2bca24b64e1c1cffc7f861e91.tar.xz |
lirc: selected driver by default, added readme to explain.
-rw-r--r-- | lirc/Pkgfile | 15 | ||||
-rw-r--r-- | lirc/README | 15 |
2 files changed, 19 insertions, 11 deletions
diff --git a/lirc/Pkgfile b/lirc/Pkgfile index e726417fd..f9e8e1722 100644 --- a/lirc/Pkgfile +++ b/lirc/Pkgfile @@ -6,7 +6,7 @@ name=lirc version=0.8.2 -release=1 +release=2 source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2 irxevent_name.diff lircd) # Possible drivers: @@ -22,10 +22,8 @@ source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2 irxevent_name.dif # sasem, serial, silitek, sir, slinke, tekram, tekram_bt829, tira, tvbox, # udp, uirt2, uirt2_raw -# To select the driver, you can uncomment this: -# LIRC_DRIVER=userspace -# or you can set it up as an environment variable before running pkgmk -# or you will be asked interactively +# To select the driver, you can change this: +LIRC_DRIVER=serial build() { cd lirc-$version @@ -33,12 +31,7 @@ build() { # Patch to let irxevent use different program names patch -p1 -i $SRC/irxevent_name.diff - if [ -z "$LIRC_DRIVER" ]; then - ./setup.sh - ./configure.sh --prefix=/usr --disable-static - else - ./configure --prefix=/usr --disable-static --with-driver="$LIRC_DRIVER" - fi + ./configure --prefix=/usr --disable-static --with-driver=$LIRC_DRIVER make make DESTDIR=$PKG install install -D -m 755 $SRC/lircd $PKG/etc/rc.d/lircd diff --git a/lirc/README b/lirc/README new file mode 100644 index 000000000..299918fe3 --- /dev/null +++ b/lirc/README @@ -0,0 +1,15 @@ +README for lirc + +REQUIREMENTS + +Enable the kernel modules required for your particular driver. +Please refer to the LIRC website for more details. + +PRE-INSTALL + +This port builds lirc using the serial driver by default. +Just edit the Pkgfile to set LIRC_DRIVER line to your needs. + +POST-INSTALL + +PRECAUTION |