summaryrefslogtreecommitdiff
path: root/openswan/openswan_2.2.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'openswan/openswan_2.2.0.oe')
-rw-r--r--openswan/openswan_2.2.0.oe25
1 files changed, 25 insertions, 0 deletions
diff --git a/openswan/openswan_2.2.0.oe b/openswan/openswan_2.2.0.oe
index e69de29bb2..e566cd8f4e 100644
--- a/openswan/openswan_2.2.0.oe
+++ b/openswan/openswan_2.2.0.oe
@@ -0,0 +1,25 @@
+DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
+Linux operating system."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "gmp flex-native"
+
+SRC_URI = "http://www.openswan.org/code/openswan-${PV}.tar.gz \
+ file://openswan-2.2.0-gentoo.patch;patch=1"
+S = "${WORKDIR}/openswan-${PV}"
+
+EXTRA_OEMAKE = "DESTDIR=${D} \
+ USERCOMPILE="${CFLAGS}" \
+ FINALCONFDIR=${sysconfdir}/ipsec \
+ INC_RCDEFAULT=${sysconfdir}/init.d \
+ INC_USRLOCAL=${prefix} \
+ INC_MANDIR=share/man WERROR=''"
+
+do_compile () {
+ oe_runmake programs
+}
+
+do_install () {
+ oe_runmake install
+}
+
+FILES_${PN} += "/usr/lib/ipsec/"