summaryrefslogtreecommitdiff
path: root/openswan/openswan_2.2.0.oe
blob: 63c3903403394b39b35c9b237a545b0518244b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SECTION = "console/network"
DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
Linux operating system."
HOMEPAGE = "http://www.openswan.org"
LICENSE = "GPLv2"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
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/"

CONFFILES_${PN}_nylon = "${sysconfdir}/ipsec/ipsec.conf"