Add geode xorg video driver.
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 13 Sep 2008 18:05:21 +0000 (18:05 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Sat, 13 Sep 2008 18:05:21 +0000 (18:05 +0000)
SVN-Revision: 12604

XOrg/driver/xf86-video-geode/Makefile [new file with mode: 0644]

diff --git a/XOrg/driver/xf86-video-geode/Makefile b/XOrg/driver/xf86-video-geode/Makefile
new file mode 100644 (file)
index 0000000..ecab08c
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2008 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:=xf86-video-geode
+PKG_RELEASE:=1
+PKG_VERSION:=2.10.1
+
+PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/driver/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_MD5SUM:=e307ab55a2a81d7868506df789f76dfb
+PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
+
+include $(INCLUDE_DIR)/package.mk
+
+PKG_INSTALL=1
+
+define Package/xf86-video-geode
+  SECTION:=xorg-driver
+  CATEGORY:=Xorg
+  SUBMENU:=driver
+  DEPENDS:=+xorg-server @DISPLAY_SUPPORT
+  TITLE:=xf86-video-geode
+  URL:=http://xorg.freedesktop.org/
+endef
+
+EXTRA_CFLAGS:= \
+       -I$(STAGING_DIR)/usr/include/xorg \
+       -I$(STAGING_DIR)/usr/include/X11 \
+
+define Package/xf86-video-geode/install
+       $(INSTALL_DIR) $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
+endef
+
+$(eval $(call BuildPackage,xf86-video-geode))