aboutsummaryrefslogtreecommitdiff
path: root/package/statserial/statserial.mk
blob: 8c396931e698974fb192cdc03ea6e466db4b2656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#############################################################
#
# 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))