4a3be70b157ca4a82266a45f0e32a6e2d79e5396
[openwrt/svn-archive/archive.git] / Xorg / driver / xf86-video-glamo / Makefile
1 #
2 # Copyright (C) 2009 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:=video-glamo
11 PKG_VERSION:=20090225
12 PKG_REV:=99b38c284e91efc45f9bc4c087e462abe98ae0a4
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=git://git.openmoko.org/git/xf86-video-glamo.git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20
21 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
22 PKG_BUILD_DEPENDS:=xproto fontsproto randrproto renderproto videoproto
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/xf86-video-glamo
28 TITLE:=xf86-video-glamo
29 SECTION:=xorg-driver
30 CATEGORY:=Xorg
31 SUBMENU:=driver
32 URL:=http://github.com/larsclausen/xf86-video-glamo/tree/xf86-video-glamo
33 DEPENDS:=@DISPLAY_SUPPORT @arm||armeb +xserver-xorg +util-macros
34 endef
35
36 define Package/xf86-video-glamo/description
37 xorg video driver for the smedia glamo 3362 chip.
38 endef
39
40 define Build/Configure
41 (cd $(PKG_BUILD_DIR) && autoreconf --force --install)
42 $(call Build/Configure/Default)
43 endef
44
45 define Package/xf86-video-glamo/install
46 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
47 $(CP) \
48 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/glamo_drv.so \
49 $(1)/usr/lib/xorg/modules/drivers/
50 endef
51
52 $(eval $(call BuildPackage,xf86-video-glamo))