summaryrefslogtreecommitdiffstats
path: root/package/procps/procps.mk
blob: dc2b8413b6f9a0c3aeb0203fa675a1859366a0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
#
# procps
#
################################################################################

PROCPS_VERSION = 3.2.8
PROCPS_SITE = http://procps.sourceforge.net/
PROCPS_LICENSE = GPLv2+, libproc and libps LGPLv2+
PROCPS_LICENSE_FILES = COPYING COPYING.LIB

PROCPS_DEPENDENCIES = ncurses

define PROCPS_BUILD_CMDS
	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef

define PROCPS_INSTALL_TARGET_CMDS
	mkdir -p $(addprefix $(TARGET_DIR)/,usr/bin bin sbin) \
		 $(addprefix $(TARGET_DIR)/usr/share/man/,man1 man5 man8)
	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) lib64=lib install=install \
		ldconfig=true install
endef

$(eval $(generic-package))