diff options
Diffstat (limited to 'freeswan/freeswan_2.06.oe')
-rw-r--r-- | freeswan/freeswan_2.06.oe | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/freeswan/freeswan_2.06.oe b/freeswan/freeswan_2.06.oe index e69de29bb2..94b1b5962b 100644 --- a/freeswan/freeswan_2.06.oe +++ b/freeswan/freeswan_2.06.oe @@ -0,0 +1,26 @@ +DESCRIPTION = "FreeS/WAN IPSEC" +DEPENDS = "gmp" +FILES_freeswan_append = " ${libdir}/ipsec" + +SRC_URI = "ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-${PV}.tar.gz \ + file://flags.patch;patch=1" + +S = "${WORKDIR}/freeswan-${PV}" + +# "local" part of tree, used in building other pathnames +EXTRA_OEMAKE = "'INC_USRLOCAL=${prefix}' \ + 'FINALLIBEXECDIR=${libexecdir}/ipsec' \ + 'FINALSBINDIR=${sbindir}' \ + 'FINALLIBDIR=${libdir}/ipsec' \ + 'MANTREE=${DESTDIR}/${mandir}' \ + 'FINALCONFFILE?=${sysconfdir}/ipsec.conf' \ + 'FINALCONFDIR?=${sysconfdir}'" + +do_compile () { + oe_runmake 'CFLAGS=${CFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}' programs +} + +do_install () { + install -d ${D}/${sysconfdir}/init.d + oe_runmake DESTDIR=${D} install +} |