summaryrefslogtreecommitdiff
path: root/transconnect
diff options
context:
space:
mode:
Diffstat (limited to 'transconnect')
-rw-r--r--transconnect/transconnect_1.2.oe16
-rw-r--r--transconnect/transconnect_1.3-beta.oe18
2 files changed, 34 insertions, 0 deletions
diff --git a/transconnect/transconnect_1.2.oe b/transconnect/transconnect_1.2.oe
index e69de29bb2..2f507ebbf4 100644
--- a/transconnect/transconnect_1.2.oe
+++ b/transconnect/transconnect_1.2.oe
@@ -0,0 +1,16 @@
+DEPENDS = "virtual/libc"
+RDEPENDS = "libc6"
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/transconnect/transconnect-${PV}.tar.gz
+
+LDFLAGS_append = " -shared"
+do_compile () {
+ oe_runmake tconn.so
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}
+ install -m 0644 tconn.conf ${D}/${sysconfdir}/
+ install -d ${D}/${libdir}/tconn
+ install -m 0755 tconn.so ${D}/${libdir}/tconn/
+}
diff --git a/transconnect/transconnect_1.3-beta.oe b/transconnect/transconnect_1.3-beta.oe
index e69de29bb2..5189148cdd 100644
--- a/transconnect/transconnect_1.3-beta.oe
+++ b/transconnect/transconnect_1.3-beta.oe
@@ -0,0 +1,18 @@
+DEPENDS = "virtual/libc"
+RDEPENDS = "libc6"
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/transconnect/transconnect-1.3-Beta.tar.gz
+S = "${WORKDIR}/transconnect-1.3-Beta"
+
+LDFLAGS_append = " -shared"
+do_compile () {
+ # build with local resolv.conf and dns over tcp support
+ oe_runmake localtcp
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}
+ install -m 0644 tconn.conf ${D}/${sysconfdir}/
+ install -d ${D}/${libdir}/tconn
+ install -m 0755 tconn.so ${D}/${libdir}/tconn/
+}