summaryrefslogtreecommitdiff
path: root/putty/putty_0.54.oe
blob: fb5a41b33ced93d4c0d075fd382a14027aa704c5 (plain)
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
DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
SECTION = "net"

SRC_URI = "http://the.earth.li/~sgtatham/putty/latest/putty-${PV}.tar.gz"

TARGETS = "plink pscp psftp puttygen"

do_compile() {
	cd unix && oe_runmake -f Makefile.gtk ${TARGETS} CC="${CC}" CFLAGS="${CFLAGS} -I. -I.. -I../charset"
}

do_install() {
	install -d ${D}/${bindir}/
	install -m 0755 unix/plink ${D}/${bindir}/ssh
	install -m 0755 unix/pscp ${D}/${bindir}/scp
	install -m 0755 unix/psftp ${D}/${bindir}/sftp
	install -m 0755 unix/puttygen ${D}/${bindir}/puttygen
}

PACKAGES = "putty-ssh putty-scp putty-sftp putty-gen"
FILES_putty = ""
FILES_putty-ssh = "${bindir}/ssh"
FILES_putty-scp = "${bindir}/scp"
FILES_putty-sftp = "${bindir}/sftp"
FILES_putty-gen = "${bindir}/puttygen"