lars 3fea517e4b Update XOrg packages to 7.3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 21:31:52 +00:00

43 lines
864 B
Makefile

#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# blogic@openwrt.org
include $(TOPDIR)/rules.mk
PKG_RELEASE:=2
PKG_VERSION:=7.3
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/headers/xorg-headers-native-$(PKG_VERSION)/
include $(INCLUDE_DIR)/package.mk
define Package/xorg-headers-native
SECTION:=xorg-headers
CATEGORY:=Xorg
SUBMENU:=headers
TITLE:=xorg-headers-native
URL:=http://xorg.freedesktop.org/
DEPENDS:=@DISPLAY_SUPPORT
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
find $(PKG_BUILD_DIR)/ -name .svn | xargs rm -rf
endef
define Build/Compile
true
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/include
$(CP) $(PKG_BUILD_DIR)/* $(1)/include/
endef
$(eval $(call BuildPackage,xorg-headers-native))