summaryrefslogtreecommitdiff
path: root/packages/putty
diff options
context:
space:
mode:
Diffstat (limited to 'packages/putty')
-rw-r--r--packages/putty/putty_cvs.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/putty/putty_cvs.bb b/packages/putty/putty_cvs.bb
index e69de29bb2..56ad86e979 100644
--- a/packages/putty/putty_cvs.bb
+++ b/packages/putty/putty_cvs.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
+SECTION = "console/network"
+
+SRC_URI = "cvs://cvsuser:anonymous@cvs.tartarus.org/home/cvs;module=putty \
+ file://lib.pro \
+ file://plink.pro \
+ file://pscp.pro \
+ file://psftp.pro"
+LICENSE = "MIT"
+TARGETS = "lib plink pscp psftp"
+PV = "0.54-cvs-${CVSDATE}"
+
+S = "${WORKDIR}/putty"
+
+inherit qmake-base
+
+do_configure() {
+ for t in ${TARGETS}
+ do
+ install -m 0644 ${WORKDIR}/$t.pro .
+ done
+ cd charset && perl sbcsgen.pl
+}
+
+do_compile() {
+ for t in ${TARGETS}
+ do
+ rm -f Makefile
+ qmake -makefile -o Makefile -spec ${QMAKESPEC} $t.pro
+ oe_runmake
+ done
+}
+
+do_install() {
+ install -d ${D}/${libdir}
+ oe_libinstall -so libputty ${D}/${libdir}
+ install -d ${D}/${bindir}/
+ install -m 0755 plink ${D}/${bindir}/ssh
+ install -m 0755 pscp ${D}/${bindir}/scp
+ install -m 0755 psftp ${D}/${bindir}/sftp
+}
+