2a8bf034727ca6d840aaf8720b723c88c394482e
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-video-geode / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xf86-video-geode
11 PKG_RELEASE:=2
12 PKG_VERSION:=2.10.1
13
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/driver/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_MD5SUM:=e307ab55a2a81d7868506df789f76dfb
17 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
18 PKG_BUILD_DEPENDS:=randrproto renderproto videoproto xextproto xf86dgaproto \
19 xproto fontsproto
20
21 include $(INCLUDE_DIR)/package.mk
22
23 PKG_INSTALL:=1
24
25 define Package/xf86-video-geode
26 SECTION:=xorg-driver
27 CATEGORY:=Xorg
28 SUBMENU:=driver
29 DEPENDS:=+xserver-xorg +libpciaccess
30 TITLE:=xf86-video-geode
31 URL:=http://xorg.freedesktop.org/
32 endef
33
34 define Package/xf86-video-geode/install
35 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
36 $(INSTALL_DATA) \
37 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/*.so \
38 $(1)/usr/lib/xorg/modules/drivers/
39 endef
40
41 $(eval $(call BuildPackage,xf86-video-geode))