Changeset 37954


Ignore:
Timestamp:
2013-09-12T15:44:41+02:00 (4 years ago)
Author:
luka
Message:

[packages] lirc: add more lirctools

This commit also makes some cosmetic changes.

Signed-off-by: Luka Perkov <luka@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/lirc/Makefile

    r30596 r37954  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2013 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    77 
    88include $(TOPDIR)/rules.mk 
    9 # we use the $LINUX_DIR variable, which is defined in kernel.mk 
    109include $(INCLUDE_DIR)/kernel.mk 
    1110 
     
    2221include $(INCLUDE_DIR)/package.mk 
    2322 
    24 define  Package/lirc/Default 
     23define Package/lirc/Default 
    2524    SECTION:=utils 
    2625    CATEGORY:=Utilities 
     
    2827endef 
    2928 
    30 define  Package/lirc 
     29define Package/lirc 
    3130    $(call Package/lirc/Default) 
    3231    TITLE:=LIRC - Linux Infrared Remote Control 
     
    3534 
    3635define Package/lirc/description 
    37   LIRC is a package that allows you to decode and send  
    38   infra-red signals of many (but not all) commonly used  
    39   remote controls. 
    40    
    41   This package contains only lircd and lircd.conf! 
    42  
    43 tested drivers 
    44 -------------- 
    45 ok: 
    46 userspace,accent,act200l,act220l,adaptec,alsa_usb,animax,asusdh, 
    47 atilibusb,atiusb,audio_alsa,breakoutbox,bte,bw6130,cmdir,creative, 
    48 creative_infracd,devinput,digimatrix,dsp,dvico,ea65,exaudiohauppauge, 
    49 hauppauge_dvb,hercules_smarttv_stereo,i2cuser,igorplugusb,imon, 
    50 imon_24g,imon_knob,imon_pad,imon_rsc,irdeo,irdeo_remote,it87,knc_one, 
    51 leadtek_pvr2000,livedrive_midi,livedrive_seq,logitech,macmini,mceusb, 
    52 mceusb2,mediafocusI,mouseremote,mouseremote_ps2,mp3anywhere, 
    53 packard_bell,parallel,pcmak,pcmak_usb,pctv,pixelview_bt878,provideo, 
    54 realmagic,remotemaster,sasem,sb0540,serial,silitek,sir,streamzap,tekram, 
    55 tekram_bt829,tira,ttusbir,tuxbox,tvbox,udp,uirt2,uirt2_raw,usb_uirt_raw, 
    56 usbx,serial 
    57  
    58 nok: 
    59 avermedia,avermedia_vdomate,avermedia98,bestbuy,bestbuy2,chronos,comX, 
    60 cph06x,flyvideo,gvbctv5pci,irreal,kworld,leadtek_0007,leadtek_0010,lptX, 
    61 nslu2,pixelview_pak,pixelview_pro,sa1100, 
    62  
    63 unknown:  
    64 audio (no portaudio), caraca (no caraca package), iguanaIR (missing headers),  
    65 irman (no libirman) 
    66    
     36 LIRC is a package that allows you to decode and send infra-red signals of many 
     37 (but not all) commonly used remote controls. 
    6738endef 
    6839 
    69  
    70 define  Package/lircdaemonadd 
     40define Package/lircdaemonadd 
    7141    $(call Package/lirc/Default) 
    7242    DEPENDS:=lirc 
    73     TITLE:=Daemon Additional Files 
     43    TITLE:=daemon additional files 
    7444endef 
    7545 
    7646define Package/lircdaemonadd/description 
    77   Contains those additional daemon-tools: 
    78    -irrecord 
    79    -lircmd 
     47 Contains additional daemon-tools. 
    8048endef 
    8149 
     
    8755 
    8856define Package/lirctools/description 
    89   This package contains those lirc-tools: 
    90    -ircat:   prints config strings to standard output, can be used to provide remote control input to scripts 
    91    -irexec:  execute programs according to the pressed remote control buttons 
    92    -irpty:   pseudo tty driver. Connects to lircd via socket to receive infra-red codes and converts them to key strokes 
    93    -irsend:  application for sending IR-codes via lirc 
    94    -irw:     watch the codes as lircd recognize them 
    95    -lircrcd: daemon that manages current mode for all applications 
    96    -mode2:   shows the pulse/space length of a remote button 
     57 Contains additional lirc-tools. 
    9758endef 
    9859 
    9960CONFIGURE_ARGS += \ 
     61        --enable-sandboxed \ 
     62        --with-driver="mceusb" \ 
     63        --with-gnu-ld \ 
     64        --with-kerneldir="$(LINUX_DIR)" \ 
     65        --with-pic \ 
     66        --without-x \ 
    10067        --disable-nls \ 
    101         --disable-static \ 
    102         --with-kerneldir="$(LINUX_DIR)" \ 
    103         --with-driver="mceusb" \ 
    104         --without-x \ 
    105         --with-pic \ 
    106         --with-gnu-ld \ 
    107         --enable-sandboxed 
     68        --disable-static 
    10869 
    10970define Package/lirc/conffiles 
     
    11576        SUBDIRS="daemons tools" 
    11677 
    117 define  Package/lirc/install 
     78define Package/lirc/install 
    11879        $(INSTALL_DIR) $(1)/usr/sbin/ 
    11980        $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemons/lircd $(1)/usr/sbin/ 
     
    12687#depends on the selected module 
    12788 
    128 define  Package/lircdaemonadd/install 
     89define Package/lircdaemonadd/install 
    12990        $(INSTALL_DIR) $(1)/usr/sbin/ 
    130         $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemons/{irrecord,lircmd} $(1)/usr/sbin/ 
     91        $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemons/irrecord $(1)/usr/sbin/ 
     92        $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemons/lircmd $(1)/usr/sbin/ 
    13193endef 
    13294 
    133 define  Package/lirctools/install 
     95define Package/lirctools/install 
    13496        $(INSTALL_DIR) $(1)/usr/sbin/ 
     97        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/ircat $(1)/usr/sbin/ 
     98        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/irexec $(1)/usr/sbin/ 
     99        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/irpty $(1)/usr/sbin/ 
    135100        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/irsend $(1)/usr/sbin/ 
    136101        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/irw $(1)/usr/sbin/ 
     102        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/lircrcd $(1)/usr/sbin/ 
    137103        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/mode2 $(1)/usr/sbin/ 
    138104endef 
Note: See TracChangeset for help on using the changeset viewer.