Xorg: Add OMAP 1/2/3 framebuffer driver.
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-video-omap / Makefile
1 #
2 # Copyright (C) 2010 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-omapfb
11 PKG_VERSION:=20100810
12 PKG_REV:=db636c8436265c3d86c5b8e00785e45d55825c80
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_URL:=http://git.pingu.fi/xf86-video-omapfb
16 PKG_SOURCE_PROTO:=git
17 PKG_SOURCE_VERSION:=$(PKG_REV)
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
20 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
21
22 PKG_FIXUP:=libtool
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26 $(call include_mk, xorg-driver.mk)
27
28 define Package/xf86-video-omapfb
29 SECTION:=xorg-driver
30 CATEGORY:=Xorg
31 SUBMENU:=driver
32 DEPENDS:=+xserver-xorg
33 TITLE:=xf86-video-omapfb
34 URL:=http://xorg.freedesktop.org/
35 endef
36
37 define Build/Configure
38 (cd $(PKG_BUILD_DIR); ./autogen.sh)
39 $(call Build/Configure/Default)
40 endef
41
42 define Package/xf86-video-omapfb/install
43 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
44 $(INSTALL_DATA) \
45 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/*.so \
46 $(1)/usr/lib/xorg/modules/drivers
47 endef
48
49 $(eval $(call BuildPackage,xf86-video-omapfb))