summaryrefslogtreecommitdiff
path: root/openswan/openswan_2.1.2.oe
blob: a494a9dae64fb712a93cee6c5bfaa888fa3e70b3 (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
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} += "/usr/lib/ipsec/"