2009-10-31 00:24:09 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2009 OpenWrt.org
|
2007-09-25 20:23:15 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2009-10-31 00:24:09 +00:00
|
|
|
|
2007-09-25 20:23:15 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=xf86-video-fbdev
|
2009-10-31 00:24:09 +00:00
|
|
|
PKG_VERSION:=0.4.1
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2008-12-16 21:15:33 +00:00
|
|
|
|
2009-10-31 00:24:09 +00:00
|
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/driver
|
2007-09-25 20:23:15 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2009-10-31 00:24:09 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
|
|
|
|
PKG_MD5SUM:=79ce1eb9f9d2ed56de70d8e06cb767d9
|
2007-09-25 20:23:15 +00:00
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2008-11-20 00:20:30 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2009-10-31 00:24:09 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
-include $(if $(DUMP),,$(STAGING_DIR)/mk/xorg-driver.mk)
|
|
|
|
|
2007-09-25 20:23:15 +00:00
|
|
|
define Package/xf86-video-fbdev
|
|
|
|
SECTION:=xorg-driver
|
|
|
|
CATEGORY:=Xorg
|
|
|
|
SUBMENU:=driver
|
2008-11-20 00:20:30 +00:00
|
|
|
DEPENDS:=+xserver-xorg +libpciaccess
|
2007-09-25 20:23:15 +00:00
|
|
|
TITLE:=xf86-video-fbdev
|
|
|
|
URL:=http://xorg.freedesktop.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
2008-11-20 00:20:30 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--enable-pciaccess \
|
2007-09-25 20:23:15 +00:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/xf86-video-fbdev/install
|
2008-11-20 00:20:30 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/*.so \
|
|
|
|
$(1)/usr/lib/xorg/modules/drivers
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,xf86-video-fbdev))
|