6eef44be536d63fba1f0691c89533d4e4bf296f1
[openwrt/svn-archive/archive.git] / Xorg / proto / glproto / Makefile
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:=glproto
11 PKG_RELEASE:=3
12 PKG_VERSION:=1.4.9
13 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/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/glproto
20 SECTION:=xorg-proto
21 CATEGORY:=Xorg
22 SUBMENU:=proto
23 DEPENDS:= @DISPLAY_SUPPORT
24 TITLE:=glproto
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,glproto))