blogic 1120328d15 InstallDev should be using (1) and not (STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 03:20:26 +00:00

41 lines
805 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)/* $(1)/include/
endef
$(eval $(call BuildPackage,xorg-headers-native))