buildrootschalter/package/procps/procps.mk
Thomas Petazzoni 0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00

24 lines
590 B
Makefile

#############################################################
#
# 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 $(call GENTARGETS))