Add md5sums.
[openwrt/svn-archive/archive.git] / Xorg / xorg / app / x11perf / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=x11perf
12 PKG_RELEASE:=2
13 PKG_VERSION:=1.5
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/app
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_MD5SUM:=31283bfc3c78718ac1bd71e510d4e774
18
19 include $(INCLUDE_DIR)/package.mk
20
21 PKG_INSTALL:=1
22
23 define Package/x11perf
24 SECTION:=xorg-app
25 CATEGORY:=Xorg
26 SUBMENU:=app
27 DEPENDS:=+libX11 +libXmuu +libXrender +libXft +libXext
28 TITLE:=x11perf
29 URL:=http://xorg.freedesktop.org/
30 endef
31
32 CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
33
34 define Package/x11perf/install
35 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/X11/x11perfcomp
36 $(INSTALL_BIN) \
37 $(PKG_INSTALL_DIR)/usr/bin/* \
38 $(1)/usr/bin
39 $(INSTALL_BIN) \
40 $(PKG_INSTALL_DIR)/usr/lib/X11/x11perfcomp/* \
41 $(1)/usr/lib/X11/x11perfcomp/
42 endef
43
44 $(eval $(call BuildPackage,x11perf))