9a5ad5695336de989b114bd92768350f7a269a2a
[packages.git] / Xorg / app / gtkperf / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gtkperf
11 PKG_VERSION:=0.40
12 PKG_RELEASE:=2
13
14 PKG_SOURCE_URL:=@SF/gtkperf
15 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)
17 PKG_MD5SUM:=4331dde4bb83865e15482885fcb0cc53
18
19 PKG_FIXUP:=libtool
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/nls.mk
24
25 TARGET_LDFLAGS+=\
26         -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
27
28 define Package/gtkperf
29   SECTION:=xorg-app
30   CATEGORY:=Xorg
31   SUBMENU:=app
32   DEPENDS:=+gtk2
33   TITLE:=gtkperf
34   URL:=http://gtkperf.sourceforge.net
35 endef
36
37 define Package/gtkperf/install
38         $(INSTALL_DIR) $(1)/usr/bin
39         $(INSTALL_BIN) \
40                 $(PKG_INSTALL_DIR)/usr/bin/* \
41                 $(1)/usr/bin
42 endef
43
44 $(eval $(call BuildPackage,gtkperf))