summaryrefslogtreecommitdiff
path: root/packages/putty/putty_svn.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-07-26 08:14:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-26 08:14:20 +0000
commit52e88c80351c1fdda12bd07dafd01947cfcaba2e (patch)
treef9e6306448476fb5bdfb7b967142163830b644b4 /packages/putty/putty_svn.bb
parent18063cd1759f0c631d2f59aefd428560904b8555 (diff)
putty switched to Subversion some time ago
Diffstat (limited to 'packages/putty/putty_svn.bb')
-rw-r--r--packages/putty/putty_svn.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/putty/putty_svn.bb b/packages/putty/putty_svn.bb
new file mode 100644
index 0000000000..e36b79dc30
--- /dev/null
+++ b/packages/putty/putty_svn.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
+SECTION = "console/network"
+LICENSE = "MIT"
+PV = "0.58+cvs-${CVSDATE}"
+
+SRC_URI = "svn://ixion.tartarus.org/main;module=putty \
+ file://lib.pro \
+ file://plink.pro \
+ file://pscp.pro \
+ file://psftp.pro"
+
+TARGETS = "lib plink pscp psftp"
+
+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
+}
+