2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
13 PKG_REV
:=99b38c284e91efc45f9bc4c087e462abe98ae0a4
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=git
://git.openmoko.org
/git
/xf86-video-glamo.git
19 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_SOURCE_VERSION
:=$(PKG_REV
)
22 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(PKG_NAME
)-$(PKG_VERSION
)/
23 PKG_BUILD_DEPENDS
:=xproto fontsproto randrproto renderproto videoproto
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/xf86-video-glamo
29 TITLE
:=xf86-video-glamo
33 URL
:=http
://github.com
/larsclausen
/xf86-video-glamo
/tree
/xf86-video-glamo
34 DEPENDS
:=@DISPLAY_SUPPORT @arm||armeb
+xserver-xorg
+util-macros
37 define Package
/xf86-video-glamo
/description
38 xorg video driver for the smedia glamo
3362 chip.
41 define Build
/Configure
42 (cd
$(PKG_BUILD_DIR
) && autoreconf
--force --install)
43 $(call Build
/Configure
/Default
)
46 define Package
/xf86-video-glamo
/install
47 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/drivers
49 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/drivers
/glamo_drv.so \
50 $(1)/usr
/lib
/xorg
/modules
/drivers
/
53 $(eval
$(call BuildPackage
,xf86-video-glamo
))