diff options
author | Francis Mendes <francis.mendes@gmail.com> | 2011-06-12 10:50:34 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-12 10:50:34 +0200 |
commit | aae534c504555b35f0ae40898b00106a84e17bec (patch) | |
tree | 1384b6e0911be97a3f6fcd7d778e86ab1ca53e3b /package/statserial/statserial.mk | |
parent | c324cf05be628b5506a1077a711a59a7a501b24d (diff) |
package: add statserial
Signed-off-by: Francis M. de P. Mendes <francis.mendes@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/statserial/statserial.mk')
-rw-r--r-- | package/statserial/statserial.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/statserial/statserial.mk b/package/statserial/statserial.mk new file mode 100644 index 000000000..b6a8a0fc2 --- /dev/null +++ b/package/statserial/statserial.mk @@ -0,0 +1,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,package,statserial)) |