summaryrefslogtreecommitdiff
path: root/packages/openswan/openswan_2.1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openswan/openswan_2.1.2.bb')
-rw-r--r--packages/openswan/openswan_2.1.2.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/openswan/openswan_2.1.2.bb b/packages/openswan/openswan_2.1.2.bb
index e69de29bb2..3346445b86 100644
--- a/packages/openswan/openswan_2.1.2.bb
+++ b/packages/openswan/openswan_2.1.2.bb
@@ -0,0 +1,27 @@
+LICENSE = GPL
+SECTION = "console/network"
+DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
+Linux operating system."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "gmp"
+
+SRC_URI = "http://www.openswan.org/code/openswan-${PV}.tar.gz \
+ file://flags.patch;patch=1"
+S = "${WORKDIR}/openswan-${PV}"
+
+EXTRA_OEMAKE = "-e DESTDIR=${D} \
+ USERCOMPILE="${CFLAGS}" \
+ FINALCONFDIR=${sysconfdir}/ipsec \
+ INC_RCDEFAULT=${sysconfdir}/init.d \
+ INC_USRLOCAL=${prefix} \
+ INC_MANDIR=share/man"
+
+do_compile () {
+ oe_runmake programs
+}
+
+do_install () {
+ oe_runmake install
+}
+
+FILES_${PN} += "${libdir}/ipsec/"