[packages] rtorrent: update to 0.8.6_r1130 (#6685)
[openwrt/svn-archive/archive.git] / Xorg / app / gtkperf / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gtkperf
11 PKG_RELEASE:=1
12 PKG_VERSION:=0.40
13 PKG_SOURCE_URL:=@SF/gtkperf
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
15 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)
16
17 include $(INCLUDE_DIR)/package.mk
18
19 PKG_INSTALL:=1
20
21 define Package/gtkperf
22 SECTION:=xorg-app
23 CATEGORY:=Xorg
24 SUBMENU:=app
25 DEPENDS:=+gtk2
26 TITLE:=gtkperf
27 URL:=http://gtkperf.sourceforge.net
28 endef
29
30 TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
31 TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libintl/lib/
32 TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include/
33 TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib/
34
35 define Package/gtkperf/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) \
38 $(PKG_INSTALL_DIR)/usr/bin/* \
39 $(1)/usr/bin
40 endef
41
42 $(eval $(call BuildPackage,gtkperf))