kumquat-buildroot/package/statserial/statserial.mk
Francis Mendes aae534c504 package: add statserial
Signed-off-by: Francis M. de P. Mendes <francis.mendes@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 10:50:34 +02:00

20 lines
635 B
Makefile

#############################################################
#
# statserial
#
#############################################################
STATSERIAL_VERSION = 1.1
STATSERIAL_SOURCE = statserial-$(STATSERIAL_VERSION).tar.gz
STATSERIAL_SITE = http://www.ibiblio.org/pub/Linux/system/serial/
STATSERIAL_DEPENDENCIES = ncurses
define STATSERIAL_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
endef
define STATSERIAL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial
endef
$(eval $(call GENTARGETS,package,statserial))