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

PROCPS_VERSION = 3.2.8
PROCPS_SITE = http://procps.sourceforge.net/

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))