[packages] cwiid: don't build on 2.4, reformat, cleanup
* use the uinput subsystem, only available on 2.6 git-svn-id: svn://svn.openwrt.org/openwrt/packages@22224 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
926b1092ed
commit
d2b07a63c2
@ -17,26 +17,32 @@ PKG_SOURCE_VERSION:=2100f14c612471084434b364501e3818c7f4144e
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/libcwiid
|
define Package/cwiid/Default
|
||||||
SECTION:=libs
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
DEPENDS:=+bluez-libs
|
|
||||||
TITLE:=Linux Nintendo Wiimote interface
|
TITLE:=Linux Nintendo Wiimote interface
|
||||||
URL:=http://abstrakraft.org/cwiid/
|
URL:=http://abstrakraft.org/cwiid/
|
||||||
|
DEPENDS:= @!LINUX_2_4
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/libcwiid
|
||||||
|
$(call Package/cwiid/Default)
|
||||||
|
SECTION:=libs
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
TITLE+= (library)
|
||||||
|
DEPENDS+= +bluez-libs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wminput
|
define Package/wminput
|
||||||
|
$(call Package/cwiid/Default)
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libcwiid
|
TITLE+= (utility)
|
||||||
TITLE:=Linux Nintendo Wiimote interface
|
DEPENDS+= +libcwiid
|
||||||
URL:=http://abstrakraft.org/cwiid/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--without-python \
|
--without-python \
|
||||||
--disable-ldconfig \
|
--disable-ldconfig \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
@ -57,9 +63,9 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include/
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_BUILD_DIR)/libcwiid/*.h $(1)/usr/include/
|
$(CP) $(PKG_BUILD_DIR)/libcwiid/*.h $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_BUILD_DIR)/libcwiid/*.so $(1)/usr/lib/
|
$(CP) $(PKG_BUILD_DIR)/libcwiid/*.so $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user