source: packages/utils/psmisc/Makefile @ 22073

Last change on this file since 22073 was 22073, checked in by acoul, 6 years ago

utils/psmisc: fix r22072

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=psmisc
11PKG_VERSION:=22.11
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://psmisc.sourceforge.net
16PKG_MD5SUM:=b5d32aa285b75c59dee96d3ea26a4881
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/psmisc
21  SECTION:=utils
22  CATEGORY:=Utilities
23  DEPENDS:=+libncurses
24  TITLE:=proc utilities
25  URL:=http://sourceforge.net/projects/psmisc/
26endef
27
28define Package/psmisc/description
29 psmisc is a set of additional small useful utilities that use
30 the proc filesystem: fuser, killall, pstree, and prtstat
31endef
32
33MAKE_FLAGS += \
34        CFLAGS="$(TARGET_CFLAGS)" \
35        CPPFLAGS="$(TARGET_CPPFLAGS)" \
36        LDFLAGS="$(TARGET_LDFLAGS)" \
37
38define Package/psmisc/install
39        $(INSTALL_DIR) $(1)/usr/sbin
40        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fuser $(1)/usr/sbin/
41        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/killall $(1)/usr/sbin
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pstree $(1)/usr/bin
44        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/prtstat $(1)/usr/bin
45endef
46
47$(eval $(call BuildPackage,psmisc))
Note: See TracBrowser for help on using the repository browser.