50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
|
#
|
||
|
# Copyright (C) 2010 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:=xf86-video-omapfb
|
||
|
PKG_VERSION:=20100810
|
||
|
PKG_REV:=db636c8436265c3d86c5b8e00785e45d55825c80
|
||
|
PKG_RELEASE:=1
|
||
|
|
||
|
PKG_SOURCE_URL:=http://git.pingu.fi/xf86-video-omapfb
|
||
|
PKG_SOURCE_PROTO:=git
|
||
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
|
||
|
|
||
|
PKG_FIXUP:=libtool
|
||
|
PKG_INSTALL:=1
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
$(call include_mk, xorg-driver.mk)
|
||
|
|
||
|
define Package/xf86-video-omapfb
|
||
|
SECTION:=xorg-driver
|
||
|
CATEGORY:=Xorg
|
||
|
SUBMENU:=driver
|
||
|
DEPENDS:=+xserver-xorg
|
||
|
TITLE:=xf86-video-omapfb
|
||
|
URL:=http://xorg.freedesktop.org/
|
||
|
endef
|
||
|
|
||
|
define Build/Configure
|
||
|
(cd $(PKG_BUILD_DIR); ./autogen.sh)
|
||
|
$(call Build/Configure/Default)
|
||
|
endef
|
||
|
|
||
|
define Package/xf86-video-omapfb/install
|
||
|
$(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
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,xf86-video-omapfb))
|