lars feaea67a32 [packages] Add missing md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:20:44 +00:00

49 lines
1.1 KiB
Makefile

#
# Copyright (C) 2008-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gtkperf
PKG_VERSION:=0.40
PKG_RELEASE:=2
PKG_SOURCE_URL:=@SF/gtkperf
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)
PKG_MD5SUM:=4331dde4bb83865e15482885fcb0cc53
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
TARGET_LDFLAGS+=\
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
define Package/gtkperf
SECTION:=xorg-app
CATEGORY:=Xorg
SUBMENU:=app
DEPENDS:=+gtk2
TITLE:=gtkperf
URL:=http://gtkperf.sourceforge.net
endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libintl/lib/
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include/
TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib/
define Package/gtkperf/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/* \
$(1)/usr/bin
endef
$(eval $(call BuildPackage,gtkperf))