Add missing dependecy on xbitmaps to xsetroot.
[openwrt/svn-archive/archive.git] / XOrg / proto / template.mk
1 #
2 # Copyright (C) 2006 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 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=@NAME@
11 PKG_RELEASE:=2
12 PKG_VERSION:=@VER@
13 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/proto/
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/@NAME@
20 SECTION:=xorg-proto
21 CATEGORY:=Xorg
22 SUBMENU:=proto
23 DEPENDS:=@DEP@ @DISPLAY_SUPPORT
24 TITLE:=@NAME@
25 URL:=http://xorg.freedesktop.org/
26 endef
27
28 define Build/InstallDev
29 DESTDIR="$(1)" $(MAKE) -C $(PKG_BUILD_DIR)/ $(MAKE_FLAGS) install
30 endef
31
32 define Build/Compile
33 true
34 endef
35
36 $(eval $(call BuildPackage,@NAME@))