InstallDev should be using (1) and not (STAGING_DIR)
[packages.git] / XOrg / proto / recordproto / 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:=recordproto
11 PKG_RELEASE:=1
12 PKG_VERSION:=X11R7.0-1.13.2
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/recordproto
20   SECTION:=xorg-proto
21   CATEGORY:=Xorg
22   SUBMENU:=proto
23   DEPENDS:= @TARGET_x86
24   TITLE:=recordproto
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,recordproto))