9242cf473518a089226a54576da797050cc6aa1e
[packages.git] / devel / sysprof / Makefile
1 #
2 # Copyright (C) 2009-2013 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:=sysprof
11 PKG_VERSION:=1.2.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://sysprof.com
16 PKG_MD5SUM:=a81808d847732f8dafb59d26ec2eebbf
17
18 PKG_BUILD_DEPENDS:= glib2
19 PKG_FIXUP:=autoreconf
20 PKG_INSTALL:=1
21 PKG_BUILD_PARALLEL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/kernel.mk
25
26 define Package/sysprof
27   SECTION:=devel
28   CATEGORY:=Development
29   TITLE:=Sysprof System Profiler
30   URL:=http://sysprof.com
31   DEPENDS:=+glib2
32 endef
33
34
35 define Package/sysprof/description
36         Sysprof is a statistical, system-wide profiler for Linux
37 endef
38
39 define Package/sysprof/install
40         $(INSTALL_DIR) $(1)/usr/bin
41         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sysprof-cli $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,sysprof))