Add xf86-video-glamo package.
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 30 Jan 2009 22:04:03 +0000 (22:04 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Fri, 30 Jan 2009 22:04:03 +0000 (22:04 +0000)
SVN-Revision: 14290

Xorg/driver/xf86-video-glamo/Makefile [new file with mode: 0644]

diff --git a/Xorg/driver/xf86-video-glamo/Makefile b/Xorg/driver/xf86-video-glamo/Makefile
new file mode 100644 (file)
index 0000000..709075b
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=video-glamo
+PKG_VERSION:=20090130
+PKG_REV:=dec6ab83d79f9087be85e78ca5e9d7178b156977
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=git://github.com/larsclausen/xf86-video-glamo.git
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=$(PKG_REV)
+
+PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
+PKG_BUILD_DEPENDS:=xproto fontsproto randrproto renderproto videoproto
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/xf86-video-glamo
+  TITLE:=xf86-video-glamo
+  SECTION:=xorg-driver
+  CATEGORY:=Xorg
+  SUBMENU:=driver
+  URL:=http://github.com/larsclausen/xf86-video-glamo/tree/xf86-video-glamo
+  DEPENDS:=@DISPLAY_SUPPORT @arm||armeb +xserver-xorg
+endef
+
+define Package/xf86-video-glamo/description
+ xorg video driver for the smedia glamo 3362 chip.
+endef
+
+define Build/Configure
+       (cd $(PKG_BUILD_DIR) && autoreconf --force --install)
+       $(call Build/Configure/Default)
+endef
+
+define Package/xf86-video-glamo/install
+       $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
+       $(CP) \
+           $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/glamo_drv.so \
+           $(1)/usr/lib/xorg/modules/drivers/
+endef
+
+$(eval $(call BuildPackage,xf86-video-glamo))