فهرست منبع

add xf86 mouse and keyboard support

got patch from joerg seitter. slightly modified.
runtime testing done by joerg.
Waldemar Brodkorb 16 سال پیش
والد
کامیت
7d768fd324
3فایلهای تغییر یافته به همراه65 افزوده شده و 0 حذف شده
  1. 2 0
      package/Config.in
  2. 32 0
      package/xf86-input-keyboard/Makefile
  3. 31 0
      package/xf86-input-mouse/Makefile

+ 2 - 0
package/Config.in

@@ -531,6 +531,8 @@ menu "X"
 source "package/xorg-server/Config.in"
 source "package/xf86-video-cirrus/Config.in"
 source "package/xf86-video-geode/Config.in"
+source "package/xf86-input-mouse/Config.in"
+source "package/xf86-input-keyboard/Config.in"
 
 menu "X Libraries"
 source "package/libICE/Config.in"

+ 32 - 0
package/xf86-input-keyboard/Makefile

@@ -0,0 +1,32 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		xf86-input-keyboard
+PKG_VERSION:=		1.4.0
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		fc836be5364d80604cb11f4daacceb23
+PKG_DESCR:=		X11 driver for keyboard 
+PKG_SECTION:=		x11
+PKG_BUILDDEP+=		xorg-server
+PKG_DEPENDS:=		xorg-server
+PKG_SITES:=		${MASTER_SITE_XORG}
+
+PKG_TARGET_DEPENDS:=	alix1c
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_INPUT_KEYBOARD,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:=	gnu
+BUILD_STYLE:=		auto
+INSTALL_STYLE:=		auto
+
+post-install:
+	${INSTALL_DIR} ${IDIR_XF86_INPUT_KEYBOARD}/usr/lib/xorg/modules/input
+	${CP} ${WRKINST}/usr/lib/xorg/modules/input/kbd_drv.so \
+		${IDIR_XF86_INPUT_KEYBOARD}/usr/lib/xorg/modules/input/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
+

+ 31 - 0
package/xf86-input-mouse/Makefile

@@ -0,0 +1,31 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		xf86-input-mouse
+PKG_VERSION:=		1.5.0
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		a662883fd9709c3dad7fb113ad8d2908
+PKG_DESCR:=		X11 driver for mouse 
+PKG_SECTION:=		x11
+PKG_DEPENDS:=		xorg-server
+PKG_BUILDDEP+=		xorg-server
+PKG_SITES:=		${MASTER_SITE_XORG}
+
+PKG_TARGET_DEPENDS:=	alix1c
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_INPUT_MOUSE,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:=	gnu
+BUILD_STYLE:=		auto
+INSTALL_STYLE:=		auto
+
+post-install:
+	${INSTALL_DIR} ${IDIR_XF86_INPUT_MOUSE}/usr/lib/xorg/modules/input
+	${CP} ${WRKINST}/usr/lib/xorg/modules/input/mouse_drv.so \
+		${IDIR_XF86_INPUT_MOUSE}/usr/lib/xorg/modules/input/
+
+include ${TOPDIR}/mk/pkg-bottom.mk