Changeset 22224


Ignore:
Timestamp:
2010-07-16T04:28:34+02:00 (7 years ago)
Author:
nico
Message:

[packages] cwiid: don't build on 2.4, reformat, cleanup

  • use the uinput subsystem, only available on 2.6
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/cwiid/Makefile

    r21855 r22224  
    1818include $(INCLUDE_DIR)/package.mk 
    1919 
     20define Package/cwiid/Default 
     21  TITLE:=Linux Nintendo Wiimote interface 
     22  URL:=http://abstrakraft.org/cwiid/ 
     23  DEPENDS:= @!LINUX_2_4 
     24endef 
     25 
    2026define Package/libcwiid 
     27$(call Package/cwiid/Default) 
    2128  SECTION:=libs 
    2229  CATEGORY:=Libraries 
    23   DEPENDS:=+bluez-libs 
    24   TITLE:=Linux Nintendo Wiimote interface 
    25   URL:=http://abstrakraft.org/cwiid/ 
     30  TITLE+= (library) 
     31  DEPENDS+= +bluez-libs 
    2632endef 
    2733 
    2834define Package/wminput 
     35$(call Package/cwiid/Default) 
    2936  SECTION:=utils 
    3037  CATEGORY:=Utilities 
    31   DEPENDS:=+libcwiid 
    32   TITLE:=Linux Nintendo Wiimote interface 
    33   URL:=http://abstrakraft.org/cwiid/ 
     38  TITLE+= (utility) 
     39  DEPENDS+= +libcwiid 
    3440endef 
    3541 
    3642CONFIGURE_ARGS += \ 
    37                 --without-python \ 
    38                 --disable-ldconfig \ 
    39                 --enable-shared \ 
     43        --without-python \ 
     44        --disable-ldconfig \ 
     45        --enable-shared \ 
    4046 
    4147TARGET_CFLAGS += $(FPIC) 
     
    5864 
    5965define Build/InstallDev 
    60         mkdir -p $(1)/usr/include/ 
     66        $(INSTALL_DIR) $(1)/usr/include 
    6167        $(CP) $(PKG_BUILD_DIR)/libcwiid/*.h $(1)/usr/include/ 
    62         mkdir -p $(1)/usr/lib/ 
     68        $(INSTALL_DIR) $(1)/usr/lib 
    6369        $(CP) $(PKG_BUILD_DIR)/libcwiid/*.so $(1)/usr/lib/ 
    6470endef 
Note: See TracChangeset for help on using the changeset viewer.