summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-02 04:08:55 +0000
committerChris Larson <clarson@kergoth.com>2003-11-02 04:08:55 +0000
commit833984bc870888351fff29c6bc832e291fcd871d (patch)
treef2597d89e1f35deaad3bbe659ce20c7c9e137ede
parent8149175b4d2298e25ae77cf7a139573cbafc196e (diff)
tslib.oe:
Add the date to PV for tslib, as its cvs. ckermit_209.oe: Fix ckermit's do_install.. wasnt creating the dirs it needed prior to the make call. BKrev: 3fa48357wII4fboBTNd3Iw-dJn4SOw
-rw-r--r--ckermit/ckermit_209.oe38
-rw-r--r--tslib/tslib.oe2
2 files changed, 40 insertions, 0 deletions
diff --git a/ckermit/ckermit_209.oe b/ckermit/ckermit_209.oe
index e69de29bb2..23e7ff053d 100644
--- a/ckermit/ckermit_209.oe
+++ b/ckermit/ckermit_209.oe
@@ -0,0 +1,38 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ftp://kermit.columbia.edu/kermit/archives/cku${PV}.tar.gz \
+ file://${FILESDIR}/cross.patch;patch=1
+
+export CC_FOR_BUILD=${BUILD_CC}
+export CC2=${CC}
+export BINDIR=${bindir}
+export MANDIR=${mandir}/man1
+export INFODIR=${infodir}
+
+python do_unpack () {
+ oe.mkdirhier(oe.data.expand('${S}', d))
+ oe.build.exec_func('base_do_unpack', d, [ '${S}' ])
+}
+
+do_compile () {
+ # read $(SourceTree)/ckccfg.txt to understand this :-)
+ oe_runmake wermit \
+ CFLAGS="${CFLAGS} -DLINUX -DCK_POSIX_SIG \
+ -DNOTCPOPTS -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR \
+ -DNOSYSLOG -DHAVE_PTMX -DNO_DNS_SRV -DNOGFTIMER \
+ -DNOB_50 -DNOB_75 -DNOB_134 -DNOB_150 -DNOB_200 \
+ -DNOB_1800 -DNOB_3600 -DNOB_7200 -DNOB_76K -DNOB_230K \
+ -DNOB_460K -DNOB_921K \
+ -DNOAPC -DNOCSETS -DNONET -DNOUNICODE -DNOHELP -DNODEBUG \
+ -DNOFRILLS -DNOFTP -DNODIAL -DNOPUSH -DNOIKSD -DNOHTTP -DNOFLOAT \
+ -DNOSERVER -DNOSEXP -DNORLOGIN -DNOOLDMODEMS -DNOSSH -DNOLISTEN \
+ -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
+ -DNORECALL -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
+ -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI"
+}
+
+do_install () {
+ install -d ${D}/${BINDIR} ${D}/${MANDIR} ${D}/${INFODIR}
+ oe_runmake 'DESTDIR=${D}' 'MANDIR=${D}/${MANDIR}' install
+}
diff --git a/tslib/tslib.oe b/tslib/tslib.oe
index d38cba9b97..6178a81779 100644
--- a/tslib/tslib.oe
+++ b/tslib/tslib.oe
@@ -1,3 +1,5 @@
+PV=${DATE}
+
DEPENDS = virtual/libc
RDEPENDS = libc6