blogic 62295db1d7 added new XOrg folders/makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 20:23:15 +00:00

41 lines
815 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:=1
PKG_VERSION:=7.1
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/
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
cp -r $(PKG_BUILD_DIR)/* $(STAGING_DIR)/include/
endef
$(eval $(call BuildPackage,xorg-headers-native))