mirko e911da985b update xorg glamo driver to latest git-revision
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 12:20:46 +00:00

53 lines
1.4 KiB
Makefile

#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=video-glamo
PKG_VERSION:=20090504
PKG_REV:=9491d818583114e429db1330dc5e07b4668dfa35
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=git://git.openmoko.org/git/xf86-video-glamo.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
PKG_BUILD_DEPENDS:=xproto fontsproto randrproto renderproto videoproto
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/xf86-video-glamo
TITLE:=xf86-video-glamo
SECTION:=xorg-driver
CATEGORY:=Xorg
SUBMENU:=driver
URL:=http://github.com/larsclausen/xf86-video-glamo/tree/xf86-video-glamo
DEPENDS:=@DISPLAY_SUPPORT @arm||armeb +xserver-xorg +util-macros
endef
define Package/xf86-video-glamo/description
xorg video driver for the smedia glamo 3362 chip.
endef
define Build/Configure
(cd $(PKG_BUILD_DIR) && autoreconf --force --install)
$(call Build/Configure/Default)
endef
define Package/xf86-video-glamo/install
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/glamo_drv.so \
$(1)/usr/lib/xorg/modules/drivers/
endef
$(eval $(call BuildPackage,xf86-video-glamo))