summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/ckermit/ckermit_302.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-09-04 00:51:57 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:41:52 +0200
commit4ac2ac6fa8e1edde5f04559220fc4b8bf74b03b3 (patch)
tree521d9a17b4ea603a4e5e8fc364f1f7a3dae2be93 /meta-oe/recipes-support/ckermit/ckermit_302.bb
parent913ae2e716c528e02f2322789c04154b366332c1 (diff)
downloadmeta-openembedded-4ac2ac6fa8e1edde5f04559220fc4b8bf74b03b3.tar.gz
ckermit: Update recipe ckermit_301.bb -> ckermit_302.bb
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/ckermit/ckermit_302.bb')
-rw-r--r--meta-oe/recipes-support/ckermit/ckermit_302.bb58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb
new file mode 100644
index 000000000..32a6c03a9
--- /dev/null
+++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb
@@ -0,0 +1,58 @@
1DESCRIPTION = "C-Kermit is a combined serial and network communication \
2software package offering a consistent, medium-independent, \
3cross-platform approach to connection establishment, terminal \
4sessions, file transfer, character-set translation, and automation \
5of communication tasks."
6HOMEPAGE = "http://www.columbia.edu/kermit/"
7SECTION = "console/network"
8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://COPYING.TXT;md5=932ca542d6c6cb8a59a0bcd76ab67cc3"
10
11SRC_URI = "ftp://ftp.kermitproject.org/kermit/archives/cku${PV}.tar.gz;subdir=${BPN}-${PV}"
12SRC_URI[md5sum] = "eac4dbf18b45775e4cdee5a7c74762b0"
13SRC_URI[sha256sum] = "0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711"
14
15
16export CC2 = "${CC}"
17export BINDIR = "${bindir}"
18export MANDIR = "${mandir}/man1"
19export INFODIR = "${infodir}"
20
21# Additional flags. For uclibc we add -DNOARROWKEYS which stops ckermit
22# trying to look inside the stdio headers.
23CKERMIT_ADDITIONAL = ""
24CKERMIT_ADDITIONAL_libc-uclibc = "-DNOARROWKEYS"
25
26TARGET_CC_ARCH += "${LDFLAGS}"
27
28do_compile () {
29 # The original makefile doesn't differentiate between CC and CC_FOR_BUILD,
30 # so we build wart manually. Note that you need a ckwart.o with the proper
31 # timestamp to make this hack work:
32 ${BUILD_CC} -c ckwart.c
33 ${BUILD_CC} -o wart ckwart.o
34 ./wart ckcpro.w ckcpro.c
35
36 # read ${S}/ckccfg.txt to understand this :-)
37 oe_runmake wermit CFLAGS="${CFLAGS} -DLINUX -DCK_POSIX_SIG \
38 -DNOTCPOPTS -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR \
39 -DNOSYSLOG -DHAVE_PTMX -DNO_DNS_SRV -DNOGFTIMER \
40 -DNOB_50 -DNOB_75 -DNOB_134 -DNOB_150 -DNOB_200 \
41 -DNOB_1800 -DNOB_3600 -DNOB_7200 -DNOB_76K -DNOB_230K \
42 -DNOB_460K -DNOB_921K \
43 -DNOCSETS -DNONET -DNOUNICODE -DNOHELP -DNODEBUG \
44 -DNOFRILLS -DNOFTP -DNODIAL -DNOPUSH -DNOIKSD -DNOHTTP -DNOFLOAT \
45 -DNOSERVER -DNOSEXP -DNORLOGIN -DNOOLDMODEMS -DNOSSH -DNOLISTEN \
46 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
47 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
48 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \
49 ${CKERMIT_ADDITIONAL}"
50}
51
52do_install () {
53 install -d ${D}${BINDIR} ${D}${MANDIR} ${D}${INFODIR}
54 oe_runmake 'DESTDIR=${D}' install
55 # Fix up dangling symlink
56 rm ${D}${BINDIR}/kermit-sshsub
57 (cd ${D}${BINDIR} && ln -s ${BINDIR}/kermit kermit-sshusb)
58}