03c0105907bb89264d3e0c2f3ca4116600a2b8e9
[packages.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:=1
12 PKG_VERSION:=X11R7.2-1.4.8
13 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/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:= @TARGET_x86
24   TITLE:=glproto
25   URL:=http://xorg.freedesktop.org/
26 endef
27
28 define Build/InstallDev
29         DESTDIR=$(STAGING_DIR) $(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))