summaryrefslogtreecommitdiff
path: root/vpnc/vpnc_0.2-rm+zomb-pre6.oe
diff options
context:
space:
mode:
Diffstat (limited to 'vpnc/vpnc_0.2-rm+zomb-pre6.oe')
-rw-r--r--vpnc/vpnc_0.2-rm+zomb-pre6.oe16
1 files changed, 16 insertions, 0 deletions
diff --git a/vpnc/vpnc_0.2-rm+zomb-pre6.oe b/vpnc/vpnc_0.2-rm+zomb-pre6.oe
new file mode 100644
index 0000000000..e3e781a849
--- /dev/null
+++ b/vpnc/vpnc_0.2-rm+zomb-pre6.oe
@@ -0,0 +1,16 @@
+DEPENDS=virtual/libc virtual/libgcrypt
+
+SRC_URI = http://www.unix-ag.uni-kl.de/~massar/vpnc/${PN}-${PV}.tar.gz \
+ file://${FILESDIR}/attribute.patch;patch=1
+
+
+do_compile () {
+oe_runmake \
+"CFLAGS=${CFLAGS} '-DVERSION=\"\$(shell cat ${S}/VERSION)\"' \$(shell libgcrypt-config --cflags)" \
+"LDFLAGS=${LDFLAGS} \$(shell libgcrypt-config --libs)"
+}
+
+do_install () {
+ install -d ${D}/${sbindir}
+ install -m 0755 vpnc ${D}/${sbindir}
+}