f9a619b371746468449dda5e5444b723a736c9b5
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-video-vesa / Makefile
1 #
2 # Copyright (C) 2007-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-vesa
11 PKG_RELEASE:=4
12 PKG_VERSION:=2.0.0
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_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_MD5SUM:=433cf6f961eb4a2ab6fcb086def0b2b4
18 PKG_BUILD_DEPENDS:=xproto fontsproto randrproto renderproto xextproto
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23
24 define Package/xf86-video-vesa
25 SECTION:=xorg-driver
26 CATEGORY:=Xorg
27 SUBMENU:=driver
28 DEPENDS:=+xserver-xorg +libpciaccess @TARGET_i386
29 TITLE:=xf86-video-vesa
30 URL:=http://xorg.freedesktop.org/
31 endef
32
33 define Package/xf86-video-vesa/install
34 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
35 $(INSTALL_DATA) \
36 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/vesa_drv.so \
37 $(1)/usr/lib/xorg/modules/drivers/
38 endef
39
40 $(eval $(call BuildPackage,xf86-video-vesa))