-PR = "r1"
-
DESCRIPTION = "Core packages required for a basic installation"
MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+PR = "r2"
+
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
netbase resolvconf sysvinit tinylogin \
${BOOTSTRAP_EXTRA_RDEPENDS}'
-RRECOMMENDS = 'dropbear lrzsz putty-scp putty-sftp putty-ssh \
- portmap \
+RRECOMMENDS = 'dropbear lrzsz putty portmap \
${BOOTSTRAP_EXTRA_RRECOMMENDS}'
+++ /dev/null
-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"
-
DESCRIPTION = "PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms"
SECTION = "net"
-SRC_URI = "cvs://cvsuser:anonymous@cvs.tartarus.org/home/cvs;module=putty;date=${CVSDATE}"
+SRC_URI = "cvs://cvsuser:anonymous@cvs.tartarus.org/home/cvs;module=putty;date=${CVSDATE} \
+ file://lib.pro \
+ file://plink.pro \
+ file://pscp.pro \
+ file://psftp.pro"
-TARGETS = "plink pscp psftp puttygen"
+TARGETS = "lib plink pscp psftp"
PV = "0.54-cvs-${CVSDATE}"
S = "${WORKDIR}/putty"
+inherit qmake-base
+
do_configure() {
- perl mkfiles.pl
+ for t in ${TARGETS}
+ do
+ install -m 0644 ${WORKDIR}/$t.pro .
+ done
+ cd charset && perl sbcsgen.pl
}
do_compile() {
- cd unix && oe_runmake -f Makefile.gtk ${TARGETS} CC="${CC}" CFLAGS="${CFLAGS} -I. -I.. -I../charset"
+ 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 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
+ install -m 0755 plink ${D}/${bindir}/ssh
+ install -m 0755 pscp ${D}/${bindir}/scp
+ install -m 0755 psftp ${D}/${bindir}/sftp
}
-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"
-