make the xserver package even smaller
[openwrt/svn-archive/archive.git] / XOrg / common.mk
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # blogic@openwrt.org
8
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
10
11 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/${PKG_NAME}
16 SECTION:=xorg-${_CATEGORY}
17 CATEGORY:=Xorg
18 SUBMENU:=${_CATEGORY}
19 DEPENDS:=${_DEPEND} @TARGET_x86
20 TITLE:=${PKG_NAME}
21 URL:=http://xorg.freedesktop.org/
22 endef
23
24 define Build/InstallDev
25 DESTDIR=$(STAGING_DIR) $(MAKE) -C $(PKG_BUILD_DIR)/$(SUBPACKAGE) $(MAKE_FLAGS) install
26 endef