1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# -*-makefile-*-
#
# Copyright (C) 2007 by Carsten Schlote <c.schlote@konzeptpark.de>
# 2009, 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_MINICOM) += minicom
#
# Paths and names
#
MINICOM_VERSION := 2.6.2
MINICOM_MD5 := 203c56c4b447f45e2301b0cc4e83da3c
MINICOM := minicom-$(MINICOM_VERSION)
MINICOM_SUFFIX := tar.gz
MINICOM_URL := https://alioth.debian.org/frs/download.php/file/3869/$(MINICOM).$(MINICOM_SUFFIX)
MINICOM_SOURCE := $(SRCDIR)/$(MINICOM).$(MINICOM_SUFFIX)
MINICOM_DIR := $(BUILDDIR)/$(MINICOM)
MINICOM_LICENSE := GPLv2
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
MINICOM_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-nls \
--disable-rpath \
--enable-socket \
--disable-music
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/minicom.targetinstall:
@$(call targetinfo)
@$(call install_init, minicom)
@$(call install_fixup, minicom,PRIORITY,optional)
@$(call install_fixup, minicom,SECTION,base)
@$(call install_fixup, minicom,AUTHOR,"Carsten Schlote <c.schlote@konzeptpark.de>")
@$(call install_fixup, minicom,DESCRIPTION,missing)
@$(call install_copy, minicom, 0, 0, 0755, -, /usr/bin/minicom)
@$(call install_copy, minicom, 0, 0, 0755, -, /usr/bin/runscript)
@$(call install_copy, minicom, 0, 0, 0755, -, /usr/bin/ascii-xfr)
ifdef PTXCONF_MINICOM_DEFCONFIG
@$(call install_alternative, minicom, 0, 0, 0644, /etc/minirc.dfl)
endif
@$(call install_finish, minicom)
@$(call touch)
# vim: syntax=make
|